Skip to content

Commit 53c18d9

Browse files
committed
2.18: Updated Makefile
1 parent 11a5eb8 commit 53c18d9

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)))
@@ -372,7 +372,7 @@ dmake: tools/dmake/dmake.o cli/filelister.o $(libcppdir)/pathmatch.o $(libcppdir
372372
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
373373

374374
run-dmake: dmake
375-
./dmake
375+
./dmake --release
376376

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

0 commit comments

Comments
 (0)