Makefile: Added the -D_GLIBCXX_DEBUG flag again to get checked stl during debug
This commit is contained in:
parent
961b6e7752
commit
d336e91049
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@
|
||||||
HAVE_RULES = yes
|
HAVE_RULES = yes
|
||||||
|
|
||||||
ifndef CXXFLAGS
|
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
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_RULES),yes)
|
ifeq ($(HAVE_RULES),yes)
|
||||||
|
|
|
@ -244,6 +244,7 @@ int main(int argc, char **argv)
|
||||||
"-Wcast-qual "
|
"-Wcast-qual "
|
||||||
// "-Wsign-conversion "
|
// "-Wsign-conversion "
|
||||||
// "-Wconversion "
|
// "-Wconversion "
|
||||||
|
"-D_GLIBCXX_DEBUG "
|
||||||
"-g");
|
"-g");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue