]> git.sesse.net Git - x264/commitdiff
arm: do not append CFLAGS to ASFLAGS
authorJanne Grunau <janne-x264@jannau.net>
Sun, 20 Jul 2014 10:55:53 +0000 (12:55 +0200)
committerFiona Glaser <fiona@x264.com>
Tue, 26 Aug 2014 16:19:18 +0000 (09:19 -0700)
configure

index 0a4cb9482ad22aa13a2138059a8030c0a0fc7aef..a50f8d56abe0ab83fd6a57ae01a696b006170b8c 100755 (executable)
--- a/configure
+++ b/configure
@@ -296,7 +296,7 @@ opencl="yes"
 CFLAGS="$CFLAGS -Wall -I. -I\$(SRCPATH)"
 LDFLAGS="$LDFLAGS"
 LDFLAGSCLI="$LDFLAGSCLI"
-ASFLAGS="$ASFLAGS"
+ASFLAGS="$ASFLAGS -I. -I\$(SRCPATH)"
 RCFLAGS="$RCFLAGS"
 HAVE_GETOPT_LONG=1
 cross_prefix=""
@@ -752,7 +752,7 @@ if [ $asm = auto -a $ARCH = ARM ] ; then
     if  cc_check '' '' '__asm__("rev ip, ip");' ; then      define HAVE_ARMV6
         cc_check '' '' '__asm__("movt r0, #0");'         && define HAVE_ARMV6T2
         cc_check '' '' '__asm__("vadd.i16 q0, q0, q0");' && define HAVE_NEON
-        ASFLAGS="$ASFLAGS $CFLAGS -c"
+        ASFLAGS="$ASFLAGS -c"
     else
         echo "You specified a pre-ARMv6 or Thumb-1 CPU in your CFLAGS."
         echo "If you really want to run on such a CPU, configure with --disable-asm."