what why was debugging enabled...
This commit is contained in:
parent
6339649983
commit
dcc126300c
1 changed files with 3 additions and 3 deletions
6
configure
vendored
6
configure
vendored
|
@ -1874,7 +1874,7 @@ echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
|||
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
||||
ac_test_CFLAGS=${CFLAGS+set}
|
||||
ac_save_CFLAGS=$CFLAGS
|
||||
CFLAGS="-g"
|
||||
CFLAGS=""
|
||||
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
||||
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
||||
if test "${ac_cv_prog_cc_g+set}" = set; then
|
||||
|
@ -1931,9 +1931,9 @@ if test "$ac_test_CFLAGS" = set; then
|
|||
CFLAGS=$ac_save_CFLAGS
|
||||
elif test $ac_cv_prog_cc_g = yes; then
|
||||
if test "$GCC" = yes; then
|
||||
CFLAGS="-g -O2"
|
||||
CFLAGS="-O2"
|
||||
else
|
||||
CFLAGS="-g"
|
||||
CFLAGS=
|
||||
fi
|
||||
else
|
||||
if test "$GCC" = yes; then
|
||||
|
|
Loading…
Reference in a new issue