Module: wine Branch: master Commit: 8c60dc0706c8f7674b2bf0106555bc44ac971ae0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8c60dc0706c8f7674b2bf01065...
Author: Ken Thomases ken@codeweavers.com Date: Thu Jun 4 13:57:59 2015 -0500
configure: Warn for a 64-bit build without CFI directive support.
---
configure | 4 ++++ configure.ac | 4 ++++ 2 files changed, 8 insertions(+)
diff --git a/configure b/configure index f47c09e..279c3bc 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 c61a975..9b25196 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"