aboutsummaryrefslogtreecommitdiffstats
path: root/meson/suppressions/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-07 17:46:36 -0500
committerDavid Robillard <d@drobilla.net>2023-01-07 19:26:29 -0500
commitb6ecd23cfb3c82c2c3f05795ebd9c65314e6367c (patch)
tree61a557e16d92a9cfdf9a8460ae960dc8c972b32c /meson/suppressions/meson.build
parentf8802f31089656379f056eb390c0d38484589136 (diff)
downloadpugl-b6ecd23cfb3c82c2c3f05795ebd9c65314e6367c.tar.gz
pugl-b6ecd23cfb3c82c2c3f05795ebd9c65314e6367c.tar.bz2
pugl-b6ecd23cfb3c82c2c3f05795ebd9c65314e6367c.zip
MacOS: Consistently use the same flags for ObjC and ObjC++
The implementation only uses ObjC, but this is mistake-prone, it's better to just have things set up properly for all of the languages that are present in the build at all.
Diffstat (limited to 'meson/suppressions/meson.build')
-rw-r--r--meson/suppressions/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build
index b3744f9..a6e6f43 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -139,6 +139,7 @@ if is_variable('objcc')
'-Wno-poison-system-directories',
]
- add_project_arguments(objcc.get_supported_arguments(objc_suppressions),
- language: ['objc'])
+ objc_suppressions = objcc.get_supported_arguments(objc_suppressions)
+ add_project_arguments(objc_suppressions, language: ['objc'])
+ add_project_arguments(objc_suppressions, language: ['objcpp'])
endif