summaryrefslogtreecommitdiff
path: root/recipes/libvpx
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2014-04-16 14:22:54 +0200
committerEdward Hervey <edward@collabora.com>2014-04-16 14:24:35 +0200
commit3e72fbad4c7f4856d9344080473b265f8fc5f3be (patch)
tree36e530f629f6d6a73113681f5030380e0897f2c8 /recipes/libvpx
parentb52ed0af4790bb9e7c8d4e3dbe2a03a2d57cba77 (diff)
libvpx: Fix ios armv7s build
Inspired by patch from Philip Withnall <philip.withnall@collabora.co.uk> https://bugzilla.gnome.org/show_bug.cgi?id=728258
Diffstat (limited to 'recipes/libvpx')
-rw-r--r--recipes/libvpx/0006-Add-armv7s-ios-support.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/libvpx/0006-Add-armv7s-ios-support.patch b/recipes/libvpx/0006-Add-armv7s-ios-support.patch
new file mode 100644
index 00000000..c147175c
--- /dev/null
+++ b/recipes/libvpx/0006-Add-armv7s-ios-support.patch
@@ -0,0 +1,45 @@
+From 94d9c8f3079f298f0fd959b0672c491f7e2e57db Mon Sep 17 00:00:00 2001
+From: Edward Hervey <edward@collabora.com>
+Date: Wed, 16 Apr 2014 13:57:11 +0200
+Subject: [PATCH] Add Armv7s ios support
+
+---
+ build/make/configure.sh | 5 ++++-
+ configure | 1 +
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/build/make/configure.sh b/build/make/configure.sh
+index 294efce..ff47a31 100755
+--- a/build/make/configure.sh
++++ b/build/make/configure.sh
+@@ -596,6 +596,9 @@ process_common_toolchain() {
+ armv6*)
+ tgt_isa=armv6
+ ;;
++ armv7s*)
++ tgt_isa=armv7s
++ ;;
+ armv7*)
+ tgt_isa=armv7
+ ;;
+@@ -791,7 +794,7 @@ process_common_toolchain() {
+ arm*)
+ # on arm, isa versions are supersets
+ case ${tgt_isa} in
+- armv7)
++ armv7|armv7s)
+ soft_enable neon
+ soft_enable media
+ soft_enable edsp
+diff --git a/configure b/configure
+index cdf4a69..0f24b93 100755
+--- a/configure
++++ b/configure
+@@ -101,6 +101,7 @@ all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8
+ all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8
+ all_platforms="${all_platforms} armv7-ios6-gcc" #neon Cortex-A8
+ all_platforms="${all_platforms} armv7-ios7-gcc" #neon Cortex-A8
++all_platforms="${all_platforms} armv7s-ios7-gcc" #neon Cortex-A9
+ all_platforms="${all_platforms} mips32-linux-gcc"
+ all_platforms="${all_platforms} ppc32-darwin8-gcc"
+ all_platforms="${all_platforms} ppc32-darwin9-gcc"