summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrey Jivsov <openpgp@brainhub.org>2011-01-06 02:31:47 +0100
committerAndrey Jivsov <openpgp@brainhub.org>2011-01-06 02:31:47 +0100
commit7bbc07fde07f3fd57077887498bdff488ec96438 (patch)
tree124dfd4a74a4be1430e9dad6cf522bbf8142b3e5 /configure.ac
parentSupport the gnuk token pinpad code. (diff)
downloadgnupg2-7bbc07fde07f3fd57077887498bdff488ec96438.tar.xz
gnupg2-7bbc07fde07f3fd57077887498bdff488ec96438.zip
Make sure that --disable-optimization works in its attempt to replace -Ox with -O0.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b6ed4b34c..975733080 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1466,7 +1466,7 @@ AC_ARG_ENABLE(optimization,
AC_HELP_STRING([--disable-optimization],
[disable compiler optimization]),
[if test $enableval = no ; then
- CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]]//'`
+ CFLAGS=`echo $CFLAGS | sed s/-O[[1-9]]\ /-O0\ /g`
fi])
#