summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2014-04-08 12:14:24 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2014-04-08 12:14:52 +0200
commit68dc56bbd34152c7f844cbbb6f5bc0c00e0fb510 (patch)
tree67aeb257891230a4203d80d9d77cc2e549a0497a /recipes
parent0e560ab9a7f3846d142741541d36a87073710eeb (diff)
pixman: rename symbols from cpufeatures.c
Diffstat (limited to 'recipes')
-rw-r--r--recipes/pixman.recipe13
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes/pixman.recipe b/recipes/pixman.recipe
index 0d16ed69..905978b7 100644
--- a/recipes/pixman.recipe
+++ b/recipes/pixman.recipe
@@ -21,10 +21,15 @@ class Recipe(recipe.Recipe):
# FIXME: Fails to link because of undefined __builtin_* symbols
self.configure_options = '--disable-arm-iwmmxt'
# Prevent symbol conflicts
- self.append_env['CFLAGS']= ' -Dandroid_getCpuFamily=pixman_android_getCpuFamily \
- -Dandroid_getCpuFeatures=pixman_android_getCpuFeatures \
- -Dandroid_getCpuCount=pixman_android_getCpuCount \
- -Dandroid_setCpu=pixman_android_setCpu '
+ self.append_env['CFLAGS'] = \
+ "-Dandroid_getCpuFamily=vpx_android_getCpuFamily "\
+ "-Dandroid_getCpuFeatures=vpx_android_getCpuFeatures "\
+ "-Dandroid_getCpuCount=vpx_android_getCpuCount " \
+ "-Dandroid_cpuInit=vpx_android_cpuInit " \
+ "-Dandroid_cpuInitDummy=vpx_android_cpuInitDummy " \
+ "-Dandroid_getCpuIdArm=vpx_android_getCpuIdArm " \
+ "-Dandroid_setCpu=vpx_android_setCpu " \
+ "-Dandroid_setCpuArm=vpx_android_setCpuArm "
def configure(self):
if self.config.target_platform == Platform.ANDROID: