We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ae58ff commit 411ac24Copy full SHA for 411ac24
1 file changed
meson.build
@@ -18,6 +18,12 @@ zlib = dependency('zlib', static: true)
18
19
add_project_arguments('-w', language: 'c')
20
21
+# MSYS2 CLANGARM64 has intermittent false-positive stack-protector failures,
22
+# likely due to __stack_chk_guard TLS initialization ordering in the toolchain.
23
+if meson.get_compiler('c').get_id() == 'clang' and host_machine.cpu_family() == 'aarch64'
24
+ add_project_arguments('-fno-stack-protector', language: 'c')
25
+endif
26
+
27
if host_machine.system() == 'windows'
28
add_project_arguments(
29
'-DGLIB_STATIC_COMPILATION',
0 commit comments