Makefile: Added the -D_GLIBCXX_DEBUG flag again to get checked stl during debug

This commit is contained in:
Daniel Marjamäki 2011-08-14 18:57:48 +02:00
parent 961b6e7752
commit d336e91049
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@
HAVE_RULES = yes
ifndef CXXFLAGS
CXXFLAGS=-Wall -Wextra -Wshadow -pedantic -Wno-long-long -Wfloat-equal -Wcast-qual -g
CXXFLAGS=-Wall -Wextra -Wshadow -pedantic -Wno-long-long -Wfloat-equal -Wcast-qual -D_GLIBCXX_DEBUG -g
endif
ifeq ($(HAVE_RULES),yes)

View File

@ -244,6 +244,7 @@ int main(int argc, char **argv)
"-Wcast-qual "
// "-Wsign-conversion "
// "-Wconversion "
"-D_GLIBCXX_DEBUG "
"-g");
}