summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-09-16 12:33:03 +0300
committerLuis de Bethencourt <luis.bg@samsung.com>2014-11-07 10:35:29 +0000
commitab7af4fe07e1ba35c8c2adde4bd93c07e73ff181 (patch)
tree009b2221f4f23e4e8d626c25f6531543286d33e4
parentc8b181f2f50fed55c4367b872127ffdc2abd0f79 (diff)
libtheora: Also don't use -fforce-addr on OSX
-rw-r--r--recipes/libtheora.recipe4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/libtheora.recipe b/recipes/libtheora.recipe
index ee244319..b3bb0778 100644
--- a/recipes/libtheora.recipe
+++ b/recipes/libtheora.recipe
@@ -30,6 +30,8 @@ class Recipe(recipe.Recipe):
self.config_sh = 'sh autogen.sh'
elif self.config.target_platform == Platform.IOS:
self.configure_options = ' --disable-spec --disable-doc'
- self.patches += 'libtheora/0007-Don-t-use-fforce-addr.patch'
+ self.patches += ['libtheora/0007-Don-t-use-fforce-addr.patch']
+ elif self.config.target_platform == Platform.DARWIN:
+ self.patches += ['libtheora/0007-Don-t-use-fforce-addr.patch']
elif self.config.target_arch != self.config.arch:
self.configure_options = ' --disable-spec --disable-doc --disable-examples'