Merge branch 'no-async-unwind' into master

This commit is contained in:
Daniel Eklöf 2020-08-19 19:09:12 +02:00
commit 277d676159
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -14,7 +14,9 @@ cc = meson.get_compiler('c')
add_project_arguments(
['-D_POSIX_C_SOURCE=200809L', '-D_GNU_SOURCE=200809L'] +
(is_debug_build ? ['-D_DEBUG'] : []) +
(is_debug_build
? ['-D_DEBUG']
: [cc.get_supported_arguments('-fno-asynchronous-unwind-tables')]) +
cc.get_supported_arguments(
['-fstrict-aliasing',
'-Wstrict-aliasing']),