mirror of https://github.com/moparisthebest/curl
attempts to filter off optimize flags when --enable-debug is used
This commit is contained in:
parent
75194373e0
commit
ae18d1c55a
|
@ -758,6 +758,8 @@ AC_ARG_ENABLE(debug,
|
||||||
if test "$GCC" = "yes"; then
|
if test "$GCC" = "yes"; then
|
||||||
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wcast-align -Wnested-externs"
|
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wcast-align -Wnested-externs"
|
||||||
fi
|
fi
|
||||||
|
dnl strip off optimizer flags
|
||||||
|
CFLAGS=`echo $CFLAGS | sed -e 's/-O[0-9 ]//g'`
|
||||||
;;
|
;;
|
||||||
esac ],
|
esac ],
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
|
Loading…
Reference in New Issue