2917 |
# optimization flags |
# optimization flags |
2918 |
if test "x$ac_cv_c_compiler_gnu" = xyes; then |
if test "x$ac_cv_c_compiler_gnu" = xyes; then |
2919 |
if test "x$default_CFLAGS" = xyes; then |
if test "x$default_CFLAGS" = xyes; then |
2920 |
CFLAGS="$CFLAGS -g" |
# Autoconf may set CFLAGS to -O2 and/or -g. So eliminate them. |
2921 |
|
CFLAGS="`echo $CFLAGS | sed -e 's/-g//g' -e 's/-O[0-9]/g'` -g" |
2922 |
# If the user specify the directory for binutils, add the option `-B'. |
# If the user specify the directory for binutils, add the option `-B'. |
2923 |
if test "x$with_binutils" != x; then |
if test "x$with_binutils" != x; then |
2924 |
CFLAGS="-B$with_binutils/ $CFLAGS" |
CFLAGS="-B$with_binutils/ $CFLAGS" |