[x264-devel] aarch64: Remove broken CFLAGS in configure

Marcin Juszkiewicz git at videolan.org
Sun Jul 26 22:26:36 CEST 2015


x264 | branch: master | Marcin Juszkiewicz <mjuszkiewicz at redhat.com> | Mon Jun  1 11:24:45 2015 +0200| [73ae2d11d472d0eb3b7c218dc1659db32f649b14] | committer: Henrik Gramner

aarch64: Remove broken CFLAGS in configure

GCC doesn't have an "-arch" switch, but works when that entire line is removed.

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

 configure |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure b/configure
index 85ab3f2..768a781 100755
--- a/configure
+++ b/configure
@@ -840,9 +840,6 @@ if [ $asm = auto -a $ARCH = ARM ] ; then
 fi
 
 if [ $asm = auto -a $ARCH = AARCH64 ] ; then
-    # set flags so neon is built by default
-    echo $CFLAGS | grep -Eq '(-mcpu|-march|-mfpu|-arch)' || CFLAGS="$CFLAGS -arch arm64 -mfpu=neon"
-
     if  cc_check '' '' '__asm__("cmeq v0.8h, v0.8h, #0");' ; then define HAVE_NEON
         ASFLAGS="$ASFLAGS -c"
     else



More information about the x264-devel mailing list