diff --git a/configure b/configure index f47c09ee138..279c3bc12be 100755 --- a/configure +++ b/configure @@ -14649,6 +14649,10 @@ $as_echo "#define __ASM_CFI(str) str" >>confdefs.h else $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 asm_func_code="$asm_func_header\" code \"$asm_func_trailer" diff --git a/configure.ac b/configure.ac index c61a975d9c4..9b251964dca 100644 --- a/configure.ac +++ b/configure.ac @@ -1987,6 +1987,10 @@ then AC_SUBST([UNWINDFLAGS],[-fasynchronous-unwind-tables]) else 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 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"