configure.ac : Don't zap '-g' from $CFLAGS.
The '-g' was in-correctly getting zapped from all CFLAGS expressions including eg: -mfloat-gprs=double (for powerpc e500) -> -mfloatprs=double. Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
This commit is contained in:
parent
43ba7ad05f
commit
1e4ffabb6e
@ -348,11 +348,10 @@ fi
|
||||
|
||||
if test "x$debug" = xtrue; then
|
||||
CPPFLAGS="-DDEBUG $CPPFLAGS"
|
||||
CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
|
||||
CFLAGS="-g $CFLAGS"
|
||||
else
|
||||
CPPFLAGS="-DNDEBUG $CPPFLAGS"
|
||||
CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
|
||||
CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
|
||||
CFLAGS="-O3 -funroll-loops $CFLAGS"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user