1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-08 23:37:47 +02:00

w32: Always build with -fno-omit-frame-pointer.

This is required due to a bug in the mingw32 runtime.
* configure.ac (HAVE_W32_SYSTEM): Force use of -fno-omit-frame-pointer.
This commit is contained in:
Werner Koch 2012-01-16 18:45:09 +01:00
parent 9b16cd09d1
commit eb1c9a44c3

View File

@ -594,6 +594,14 @@ case "${host}" in
agent_support=no
use_simple_gettext=yes
have_w32_system=yes
# gcc 4.6 uses by default -fomit-frame-pointer. This
# conflicts with mingw runtime's setjmp/longjmp usage. The
# actual bug we notice is a segv related to the dlopened
# iconv.dll: After returning from set_native_charset the stack
# frame is corrupt.
if test -n "$GCC" ; then
CFLAGS="$CFLAGS -fno-omit-frame-pointer"
fi
;;
i?86-emx-os2 | i?86-*-os2*emx )
# OS/2 with the EMX environment