Set debug mode

This commit is contained in:
Daniel Marjamäki 2021-07-04 10:25:20 +02:00
parent f5b44b0b0b
commit 672d5dcf30
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ ifeq (clang++, $(findstring clang++,$(CXX)))
CPPCHK_GLIBCXX_DEBUG=
endif
ifndef CXXFLAGS
CXXFLAGS=-std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare
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
endif
# Increase stack size for Cygwin builds to avoid segmentation fault in limited recursive tests.