mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
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
|
||||
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wcast-align -Wnested-externs"
|
||||
fi
|
||||
dnl strip off optimizer flags
|
||||
CFLAGS=`echo $CFLAGS | sed -e 's/-O[0-9 ]//g'`
|
||||
;;
|
||||
esac ],
|
||||
AC_MSG_RESULT(no)
|
||||
|
Loading…
Reference in New Issue
Block a user