diff options
author | Andrey Jivsov <openpgp@brainhub.org> | 2011-01-06 02:31:47 +0100 |
---|---|---|
committer | Andrey Jivsov <openpgp@brainhub.org> | 2011-01-06 02:31:47 +0100 |
commit | 7bbc07fde07f3fd57077887498bdff488ec96438 (patch) | |
tree | 124dfd4a74a4be1430e9dad6cf522bbf8142b3e5 /configure.ac | |
parent | Support the gnuk token pinpad code. (diff) | |
download | gnupg2-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.ac | 2 |
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]) # |