Also allow --enable-debug override the CXXFLAGS,
...as done for normal builds in 2006-08-08T16:52:55Z!bruno@wolff.to. This fixes a problem with some custom flags which fail in debug mode.
This commit is contained in:
parent
74e38146b2
commit
5d4d384958
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ AC_ARG_ENABLE([strict-compilation],
|
|||
|
||||
if test "x$debug" = "xyes"
|
||||
then
|
||||
CXXFLAGS="$CXXFLAGS -O0 -DDEBUG -ggdb3 -W -Wall -ansi"
|
||||
CXXFLAGS="-O0 -DDEBUG -ggdb3 -W -Wall -ansi $CXXFLAGS"
|
||||
else
|
||||
CXXFLAGS="-O2 -W -Wall -ansi $CXXFLAGS"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue