diff options
Diffstat (limited to 'meson/suppressions')
-rw-r--r-- | meson/suppressions/meson.build | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index 04341bd..d82ce61 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -21,14 +21,12 @@ if is_variable('cc') '-Wno-cast-qual', '-Wno-declaration-after-statement', '-Wno-disabled-macro-expansion', - '-Wno-documentation-unknown-command', # MacOS '-Wno-double-promotion', '-Wno-float-conversion', '-Wno-float-equal', '-Wno-implicit-float-conversion', '-Wno-missing-noreturn', '-Wno-padded', - '-Wno-reserved-id-macro', # MacOS '-Wno-shorten-64-to-32', '-Wno-sign-conversion', '-Wno-switch-default', @@ -40,6 +38,13 @@ if is_variable('cc') '-Wno-poison-system-directories', ] endif + + if host_machine.system() == 'darwin' + c_suppressions += [ + '-Wno-documentation-unknown-command', + '-Wno-reserved-id-macro', + ] + endif endif if warning_level in ['everything', '3'] |