diff options
author | Matthew Waters <matthew@centricular.com> | 2024-03-22 14:15:56 +1100 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2024-04-04 16:38:31 +0000 |
commit | 3e800b5baea070c31cfbc7054f8408510a5d012f (patch) | |
tree | 36d70223b9f0903e56cae4a676af59e922b70195 | |
parent | 284d411fc73761fe1537f2ef847e8e810cb32700 (diff) |
glib: disable error for int-conversion introduced by default with clang 15
macos/ios now ship clang 15 which flipped some default errors for some
warnings around int->pointer conversion that currently fail in glib to
the version we ship here. Unflip those errors.
https://reviews.llvm.org/D129881
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1425>
-rw-r--r-- | recipes/build-tools/glib-tools.recipe | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/build-tools/glib-tools.recipe b/recipes/build-tools/glib-tools.recipe index 9f65ae83..620fe9ec 100644 --- a/recipes/build-tools/glib-tools.recipe +++ b/recipes/build-tools/glib-tools.recipe @@ -26,3 +26,6 @@ class Recipe(recipe.Recipe): # Want secure versions of stdlib functions. Glib already defines # _WIN32_WINNT, so undefine it on the cmdline to avoid warnings self.append_env('CFLAGS', '-DMINGW_HAS_SECURE_API=1', '-U_WIN32_WINNT') + + if self.config.platform == Platform.DARWIN: + self.append_env('CFLAGS', '-Wno-error=int-conversion') |