summaryrefslogtreecommitdiff
path: root/package/libx264/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-23 19:57:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-23 19:57:50 +0100
commit84b27b24967b86a34a6862491445935f5625a2d4 (patch)
tree7ca6c5d0e55988ad7aa70b6cedb30fdaedabf2fc /package/libx264/patches/patch-configure
parentcea2d6801d8bb29ae976ca75a7b1f7715d24c553 (diff)
oops, what happens to test-first? shouldn't eat pizza and hack at the same time...
Diffstat (limited to 'package/libx264/patches/patch-configure')
-rw-r--r--package/libx264/patches/patch-configure11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/libx264/patches/patch-configure b/package/libx264/patches/patch-configure
index 36667e427..3a54b3bcb 100644
--- a/package/libx264/patches/patch-configure
+++ b/package/libx264/patches/patch-configure
@@ -1,5 +1,5 @@
--- libx264-1.0.1.orig/configure 2014-01-22 11:20:21.000000000 +0100
-+++ libx264-1.0.1/configure 2014-02-23 19:48:57.000000000 +0100
++++ libx264-1.0.1/configure 2014-02-23 19:54:33.000000000 +0100
@@ -560,7 +560,7 @@ LDFLAGS="$LDFLAGS $libm"
aligned_stack=1
case $host_cpu in
@@ -98,6 +98,15 @@
if ! as_check "vpmovzxwd ymm0, xmm0" ; then
VER=`($AS --version || echo no assembler) 2>/dev/null | head -n 1`
echo "Found $VER"
+@@ -740,7 +740,7 @@ if [ $asm = auto -a \( $ARCH = X86 -o $A
+ fi
+ fi
+
+-if [ $asm = auto -a $ARCH = ARM ] ; then
++if [ $asm = auto -a $XARCH = ARM ] ; then
+ # set flags so neon is built by default
+ echo $CFLAGS | grep -Eq '(-mcpu|-march|-mfpu)' || CFLAGS="$CFLAGS -mcpu=cortex-a8 -mfpu=neon"
+
@@ -758,7 +758,7 @@ fi
[ $asm = no ] && AS=""
[ "x$AS" = x ] && asm="no" || asm="yes"