summaryrefslogtreecommitdiff
path: root/recipes/libvpx.recipe
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-25 16:22:24 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-26 11:34:00 +0100
commitbf99a58956d8a71dc4b02d4af4e2dd9ff521bb9c (patch)
treeff9ec3364f6e62490797431b8704e39772a7a2de /recipes/libvpx.recipe
parente42b4871f05083a9baaaf954b6e90e6c5a20bb68 (diff)
libvpx: add support for iOS builds
Diffstat (limited to 'recipes/libvpx.recipe')
-rw-r--r--recipes/libvpx.recipe9
1 files changed, 3 insertions, 6 deletions
diff --git a/recipes/libvpx.recipe b/recipes/libvpx.recipe
index 66f3447d..1e72e95c 100644
--- a/recipes/libvpx.recipe
+++ b/recipes/libvpx.recipe
@@ -33,7 +33,7 @@ class Recipe(recipe.Recipe):
elif self.config.target_arch == Architecture.ARM:
arch = 'arm'
elif self.config.target_arch == Architecture.ARMv7:
- arch = 'arm'
+ arch = 'armv7'
if self.config.target_platform == Platform.DARWIN:
if self.config.target_distro_version in [DistroVersion.OS_X_MOUNTAIN_LION, DistroVersion.OS_X_LION] and arch != 'x86':
@@ -43,11 +43,10 @@ class Recipe(recipe.Recipe):
if self.config.target_arch == Architecture.PPC:
platform = 'darwin9'
elif self.config.target_platform == Platform.IOS:
- platform = 'darwin'
+ platform = 'ios6'
if self.config.target_arch == Architecture.ARM:
arch = 'armv6'
- elif self.config.target_arch == Architecture.ARMv7:
- arch = 'armv7'
+ self.config_sh = 'LD=$CC ./configure'
elif self.config.target_platform == Platform.WINDOWS:
self.config_sh = 'LD=$CC ./configure'
if self.config.target_arch == Architecture.X86_64:
@@ -64,8 +63,6 @@ class Recipe(recipe.Recipe):
arch = 'armv5te'
# Fix compiler error with -mthumb
self.new_env['CFLAGS'] = os.environ['CFLAGS'].replace('-mthumb', '')
- elif self.config.target_arch == Architecture.ARMv7:
- arch = 'armv7'
elif self.config.target_arch == Architecture.X86:
pass
else: