summaryrefslogtreecommitdiff
path: root/data/automake/arm64.diff
blob: 014588c0a3bdb6f5db68fd2b36acb725dac0400d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur automake-1.16.1/lib/config.guess automake-1.16.1+iOS/lib/config.guess
--- automake-1.16.1/lib/config.guess	2018-03-11 11:19:05.000000000 -1000
+++ automake-1.16.1+iOS/lib/config.guess	2019-09-27 22:40:33.000000000 -1000
@@ -1316,6 +1316,8 @@
 	    # processor. This is not true of the ARM version of Darwin
 	    # that Apple uses in portable devices.
 	    UNAME_PROCESSOR=x86_64
+        elif test "$UNAME_PROCESSOR" = arm64 ; then
+            UNAME_PROCESSOR=aarch64
 	fi
 	echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
 	exit ;;