diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | meson.build | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -7,6 +7,7 @@ compared to 0.5.0: - NEON optimizations for SGR on ARM32 - Fix mismatch issue in x86 asm in inverse identity transforms - Fix build issue in ARM64 assembly if debug info was enabled + - Add a workaround for Xcode 11 -fstack-check bug Changes for 0.5.0 'Asiatic Cheetah': diff --git a/meson.build b/meson.build index 12c171c..113c30f 100644 --- a/meson.build +++ b/meson.build @@ -215,6 +215,12 @@ if (get_option('buildtype') != 'debug' and get_option('buildtype') != 'plain') optional_arguments += '-ffast-math' endif +if (host_machine.system() == 'darwin' and cc.get_id() == 'clang' and + cc.version().startswith('11')) + # Workaround for Xcode 11 -fstack-check bug, see #301 + optional_arguments += '-fno-stack-check' +endif + add_project_arguments(cc.get_supported_arguments(optional_arguments), language : 'c') # libFuzzer related things |