summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr BrzeziƄski <thewildtree@outlook.com>2024-10-23 16:10:11 +0200
committerBackport Bot <gitlab-backport-bot@gstreamer-foundation.org>2024-10-23 17:31:19 +0100
commit6292da476da0b83346d9d94c930ab5f3298e68dd (patch)
tree498194423440f395d704a67f79d0a162af7522ef
parent48db892f27eee4656540a32d00184cc3cfe765aa (diff)
harfbuzz: Add CXXFLAGS to fix broken build on iOS
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1605>
-rw-r--r--recipes/harfbuzz.recipe1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/harfbuzz.recipe b/recipes/harfbuzz.recipe
index 985fca9e..3e4b9018 100644
--- a/recipes/harfbuzz.recipe
+++ b/recipes/harfbuzz.recipe
@@ -29,6 +29,7 @@ class Recipe(recipe.Recipe):
# Disable werror from pragmas. Currently fails building on macOS 12.3
# and should actually be controlled by the build system.
self.append_env('CFLAGS', '-DHB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR')
+ self.append_env('CXXFLAGS', '-DHB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR')
if self.config.target_platform == Platform.DARWIN:
self.meson_options['coretext'] = 'enabled'