summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorPiotr Brzeziński <thewildtree@outlook.com>2024-10-23 16:10:11 +0200
committerPiotr Brzeziński <thewildtree@outlook.com>2024-10-23 16:10:11 +0200
commitaeeb7bbc8fb2564c9154f9aafed839af477b3325 (patch)
treee5d8e42f83014ee1859917bbf9785350153a78be /recipes
parent39a7a0184c1f4b47c97ffe70e9d7d5e9db6c5da9 (diff)
harfbuzz: Add CXXFLAGS to fix broken build on iOS
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1604>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/harfbuzz.recipe1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/harfbuzz.recipe b/recipes/harfbuzz.recipe
index 0f440b29..1987f2c9 100644
--- a/recipes/harfbuzz.recipe
+++ b/recipes/harfbuzz.recipe
@@ -30,6 +30,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'