mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01: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:
parent
9b16cd09d1
commit
eb1c9a44c3
@ -594,6 +594,14 @@ case "${host}" in
|
|||||||
agent_support=no
|
agent_support=no
|
||||||
use_simple_gettext=yes
|
use_simple_gettext=yes
|
||||||
have_w32_system=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 )
|
i?86-emx-os2 | i?86-*-os2*emx )
|
||||||
# OS/2 with the EMX environment
|
# OS/2 with the EMX environment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user