mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
Make sure that --disable-optimization works in its attempt to replace -Ox with -O0.
This commit is contained in:
parent
7d24ffaf80
commit
7bbc07fde0
@ -1466,7 +1466,7 @@ AC_ARG_ENABLE(optimization,
|
|||||||
AC_HELP_STRING([--disable-optimization],
|
AC_HELP_STRING([--disable-optimization],
|
||||||
[disable compiler optimization]),
|
[disable compiler optimization]),
|
||||||
[if test $enableval = no ; then
|
[if test $enableval = no ; then
|
||||||
CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]]//'`
|
CFLAGS=`echo $CFLAGS | sed s/-O[[1-9]]\ /-O0\ /g`
|
||||||
fi])
|
fi])
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user