summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2016-02-19 09:02:33 +0100
committerEdward Hervey <bilboed@bilboed.com>2016-02-19 09:02:33 +0100
commitd8d19697cd0cdb501cd7fbdf964fdc81b259f9f0 (patch)
tree8c91747aaa9bb583ddead91d1a47fe0239b1ff57 /recipes
parent3ac267f431af44bbdaa2e9e7404323edeace0750 (diff)
recipes/mpg123: Make sure we use 32bit code on x86
By default the configure script will try to use 64bit code even when we're targetting 32bit machines
Diffstat (limited to 'recipes')
-rw-r--r--recipes/mpg123.recipe4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/mpg123.recipe b/recipes/mpg123.recipe
index 44a0e9c3..ef36ccb1 100644
--- a/recipes/mpg123.recipe
+++ b/recipes/mpg123.recipe
@@ -18,4 +18,8 @@ class Recipe(recipe.Recipe):
if self.config.target_arch == Architecture.ARM:
# Disable thumb mode to get the optimizations compiled properly
self.new_env['CFLAGS'] = os.environ['CFLAGS'].replace('-mthumb', '')
+ if self.config.target_platform in [Platform.IOS]:
+ if self.config.target_arch == Architecture.X86:
+ # make sure we use 32bit asm
+ self.configure_options += ' --with-cpu=x86 '