mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
* configure.ac: Add --disable-optimization. This is handy for debugging
so the compiler doesn't rearrange things and eliminate variables.
This commit is contained in:
parent
197c7a3e47
commit
8fa55e28fe
@ -1,3 +1,9 @@
|
||||
2006-05-23 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* configure.ac: Add --disable-optimization. This is handy for
|
||||
debugging so the compiler doesn't rearrange things and eliminate
|
||||
variables.
|
||||
|
||||
2006-05-22 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* configure.ac: Remove check for noexecstack and invoke
|
||||
|
@ -1264,6 +1264,15 @@ if test "$GCC" = yes; then
|
||||
CFLAGS="$CFLAGS -Wall"
|
||||
fi
|
||||
|
||||
# This is handy for debugging so the compiler doesn't rearrange
|
||||
# things and eliminate variables.
|
||||
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]]//'`
|
||||
fi])
|
||||
|
||||
AC_MSG_CHECKING([if gcc supports -Wno-pointer-sign])
|
||||
|
||||
_gcc_cflags_save=$CFLAGS
|
||||
|
Loading…
x
Reference in New Issue
Block a user