[PATCH] configure.ac: disable -fcf-protection
Austin English
austinenglish at gmail.com
Fri Dec 6 07:33:29 CST 2019
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48161
Signed-off-by: Austin English <austinenglish at gmail.com>
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 7f2c3cda23..942585adfe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2113,6 +2113,9 @@ then
CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
fi
+dnl **** Disable fcf-protection, it breaks a ton of apps
+WINE_TRY_CFLAGS([-fcf-protection=none])
+
dnl **** Check for CFI directives support ****
AC_CACHE_CHECK([whether CFI directives are supported in assembly code], ac_cv_c_cfi_support,
--
2.23.0
More information about the wine-devel
mailing list