projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7519437
)
attempts to filter off optimize flags when --enable-debug is used
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 15 Nov 2002 14:11:20 +0000
(14:11 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 15 Nov 2002 14:11:20 +0000
(14:11 +0000)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index d7e5e810bfca2d61376b09acc79990a6fdea0a3e..829cd72a0f42c9b186318e5b1c404244fe569bc3 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-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)