]> granicus.if.org Git - libx264/commitdiff
aarch64: Skip invoking gas-preprocessor for iOS
authorMartin Storsjö <martin@martin.st>
Fri, 24 Mar 2017 09:33:34 +0000 (11:33 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sun, 21 May 2017 20:41:06 +0000 (22:41 +0200)
Clang can handle all the constructs used there these days, working
since Xcode 6 at least.

configure

index 07de5fa86426bf6f63f12fb6a7b14a5f7f89876c..9751def85bb3f64882869db5f8fe5a140c9c9553 100755 (executable)
--- a/configure
+++ b/configure
@@ -777,11 +777,9 @@ case $host_cpu in
     aarch64)
         ARCH="AARCH64"
         stack_alignment=16
+        AS="${AS-${CC}}"
         if [ "$SYS" = MACOSX ] ; then
-            AS="${AS-${SRCPATH}/tools/gas-preprocessor.pl -arch aarch64 -- ${CC}}"
             ASFLAGS="$ASFLAGS -DPREFIX -DPIC"
-        else
-            AS="${AS-${CC}}"
         fi
         ;;
     s390|s390x)