[x264-devel] arm: do not append CFLAGS to ASFLAGS

Janne Grunau git at videolan.org
Tue Aug 26 18:23:10 CEST 2014


x264 | branch: master | Janne Grunau <janne-x264 at jannau.net> | Sun Jul 20 12:55:53 2014 +0200| [716ee56d0b35e512e8e0ae1a3e71f26e65e86be3] | committer: Fiona Glaser

arm: do not append CFLAGS to ASFLAGS

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=716ee56d0b35e512e8e0ae1a3e71f26e65e86be3
---

 configure |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 0a4cb94..a50f8d5 100755
--- 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."



More information about the x264-devel mailing list