summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-10-28 21:32:06 +0100
committerSebastian Dröge <sebastian@centricular.com>2013-10-31 12:48:10 +0100
commit2fcc77a60bc536d72a719b8c7fc864b8b8690f5a (patch)
tree1c2445791a05114fc37f77add2fdd9d981b762a5
parent26e48420767c55bafab037da65d011ca0992f960 (diff)
pixman: disable TLS in iOS
TLS is not supported in this platform but the configure check does not complain so it needs to be disabled manually
-rw-r--r--recipes/pixman.recipe3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/pixman.recipe b/recipes/pixman.recipe
index 0d16ed69..16bce800 100644
--- a/recipes/pixman.recipe
+++ b/recipes/pixman.recipe
@@ -17,6 +17,9 @@ class Recipe(recipe.Recipe):
files_devel = ['include/pixman-1', 'lib/pkgconfig/pixman-1.pc']
def prepare(self):
+ if self.config.target_platform == Platform.IOS:
+ if self.config.target_arch == Architecture.ARMv7:
+ self.append_env['CFLAGS'] = ' -DPIXMAN_NO_TLS'
if self.config.target_platform == Platform.ANDROID:
# FIXME: Fails to link because of undefined __builtin_* symbols
self.configure_options = '--disable-arm-iwmmxt'