Autoconf setup now sets build flags for C++.
This commit is contained in:
parent
319a929a20
commit
8e52c00ffc
3 changed files with 242 additions and 127 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -4169,10 +4169,12 @@ fi
|
|||
|
||||
if test "$enable_debug" = "yes"; then
|
||||
CFLAGS="-Wall -O0 -g -D_DEBUG"
|
||||
CXXFLAGS="-Wall -O0 -g -D_DEBUG"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
CFLAGS="-O3"
|
||||
CXXFLAGS="-O3"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue