mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:31:40 +03:00
attempts to filter off optimize flags when --enable-debug is used
This commit is contained in:
parent
75194373e0
commit
ae18d1c55a
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue