configure: Warn for a 64-bit build without CFI directive support.

This commit is contained in:
Ken Thomases 2015-06-04 13:57:59 -05:00 committed by Alexandre Julliard
parent 0c395c24e3
commit 8c60dc0706
2 changed files with 8 additions and 0 deletions

4
configure vendored
View File

@ -14649,6 +14649,10 @@ $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
else else
$as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
if test "x$enable_win64" = "xyes"
then
as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
fi
fi fi
asm_func_code="$asm_func_header\" code \"$asm_func_trailer" asm_func_code="$asm_func_header\" code \"$asm_func_trailer"

View File

@ -1987,6 +1987,10 @@ then
AC_SUBST([UNWINDFLAGS],[-fasynchronous-unwind-tables]) AC_SUBST([UNWINDFLAGS],[-fasynchronous-unwind-tables])
else else
AC_DEFINE([__ASM_CFI(str)],[""]) AC_DEFINE([__ASM_CFI(str)],[""])
if test "x$enable_win64" = "xyes"
then
WINE_WARNING([building 64-bit Wine without support for CFI directives; exception handling will not work properly.])
fi
fi fi
asm_func_code="$asm_func_header\" code \"$asm_func_trailer" asm_func_code="$asm_func_header\" code \"$asm_func_trailer"