summaryrefslogtreecommitdiff
path: root/package/libx264/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2014-01-22 19:47:30 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2014-01-22 19:47:30 +0100
commitf246f89c65438646d25517773ac7defc60dae6e4 (patch)
treec71d2b500c815787ecc572f6a126f4043cb10b98 /package/libx264/patches/patch-configure
parentc7b25f4c5726394f2cc57b924bb7913a3882255e (diff)
fix compile for arm
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 3fdcd36fd..ed9d2ed94 100644
--- a/package/libx264/patches/patch-configure
+++ b/package/libx264/patches/patch-configure
@@ -1,5 +1,14 @@
--- libx264-1.0.1.orig/configure 2014-01-22 11:20:21.000000000 +0100
-+++ libx264-1.0.1/configure 2014-01-22 11:29:13.000000000 +0100
++++ libx264-1.0.1/configure 2014-01-22 19:42:21.000000000 +0100
+@@ -662,7 +662,7 @@ case $host_cpu in
+ LDFLAGS="$LDFLAGS -arch armv7"
+ fi
+ else
+- AS="${AS-${cross_prefix}gcc}"
++ AS="${cross_prefix}gcc"
+ fi
+ ;;
+ s390|s390x)
@@ -1007,9 +1007,9 @@ if [ "$debug" = "yes" ]; then
elif [ $ARCH = ARM ]; then
# arm-gcc-4.2 produces incorrect output with -ffast-math