summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index fdd9a7b79b..80fdfa1388 100755
--- a/configure
+++ b/configure
@@ -5359,6 +5359,11 @@ case $target_os in
fi
version_script='-exported_symbols_list'
VERSION_SCRIPT_POSTPROCESS_CMD='tr " " "\n" | sed -n /global:/,/local:/p | grep ";" | tr ";" "\n" | sed -E "s/(.+)/_\1/g" | sed -E "s/(.+[^*])$$$$/\1*/"'
+ # Workaround for Xcode 11 -fstack-check bug
+ if enabled clang; then
+ clang_version=$($cc -dumpversion)
+ test ${clang_version%%.*} -eq 11 && add_cflags -fno-stack-check
+ fi
;;
msys*)
die "Native MSYS builds are discouraged, please use the MINGW environment."