Skip to content

Commit 560b534

Browse files
committed
2.17.0: Updated Makefile
1 parent 70e6e33 commit 560b534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ ifeq (clang++, $(findstring clang++,$(CXX)))
132132
CPPCHK_GLIBCXX_DEBUG=
133133
endif
134134
ifndef CXXFLAGS
135-
CXXFLAGS=-pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-sign-compare -Wno-multichar -Woverloaded-virtual $(CPPCHK_GLIBCXX_DEBUG) -g
135+
CXXFLAGS=-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-multichar
136136
endif
137137

138138
ifeq (g++, $(findstring g++,$(CXX)))
@@ -364,7 +364,7 @@ dmake: tools/dmake/dmake.o cli/filelister.o $(libcppdir)/pathmatch.o $(libcppdir
364364
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
365365

366366
run-dmake: dmake
367-
./dmake
367+
./dmake --release
368368

369369
clean:
370370
rm -f build/*.cpp build/*.o lib/*.o cli/*.o test/*.o tools/dmake/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1

0 commit comments

Comments
 (0)