From 990963c157ce93f699b5ee9b36e304c96f1aa3a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 6 Sep 2023 16:09:02 +0200 Subject: [PATCH] Update Makefile --- .github/workflows/scriptcheck.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scriptcheck.yml b/.github/workflows/scriptcheck.yml index d6223caafa0..ce7b313a053 100644 --- a/.github/workflows/scriptcheck.yml +++ b/.github/workflows/scriptcheck.yml @@ -170,5 +170,5 @@ jobs: - name: dmake if: matrix.python-version == '3.11' run: | - make -j$(nproc) run-dmake + make dmake && ./dmake --release git diff --exit-code diff --git a/Makefile b/Makefile index d1aa9cc093c..e43d8ee7090 100644 --- a/Makefile +++ b/Makefile @@ -137,7 +137,7 @@ ifeq (clang++, $(findstring clang++,$(CXX))) CPPCHK_GLIBCXX_DEBUG= endif ifndef CXXFLAGS - CXXFLAGS=-pedantic -Wall -Wextra -Wcast-qual -Wno-deprecated-declarations -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-shadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar $(CPPCHK_GLIBCXX_DEBUG) -g + CXXFLAGS=-std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare endif ifeq (g++, $(findstring g++,$(CXX)))