]> git.sesse.net Git - x264/commitdiff
aarch64: Remove broken CFLAGS in configure
authorMarcin Juszkiewicz <mjuszkiewicz@redhat.com>
Mon, 1 Jun 2015 09:24:45 +0000 (11:24 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sat, 25 Jul 2015 20:52:55 +0000 (22:52 +0200)
GCC doesn't have an "-arch" switch, but works when that entire line is removed.

configure

index 85ab3f28a023722781c20a1eb0d9d95d6898e666..768a78141a9202c79a4ba721809904eb7d5d01b6 100755 (executable)
--- 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