diff options
author | Andrey Jivsov <[email protected]> | 2011-01-06 01:31:47 +0000 |
---|---|---|
committer | Andrey Jivsov <[email protected]> | 2011-01-06 01:31:47 +0000 |
commit | 7bbc07fde07f3fd57077887498bdff488ec96438 (patch) | |
tree | 124dfd4a74a4be1430e9dad6cf522bbf8142b3e5 | |
parent | Support the gnuk token pinpad code. (diff) | |
download | gnupg-7bbc07fde07f3fd57077887498bdff488ec96438.tar.gz gnupg-7bbc07fde07f3fd57077887498bdff488ec96438.zip |
Make sure that --disable-optimization works in its attempt to replace -Ox with -O0.
-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]) # |