Link the endian-independent cmpauxmd for aarch64.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 20 Apr 2019 20:09:12 +0000 (20:09 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 21 Aug 2019 21:34:06 +0000 (21:34 +0000)
src/microcode/configure.ac

index def73f6ec3a1f219c88d78e968b75c7ddc6cd163..f4a98cf42bb83a84e446a6799eeb332c3fe8f199 100644 (file)
@@ -860,6 +860,15 @@ fi
 
 OPTIONAL_BASES="${OPTIONAL_BASES} cmpint cmpintmd comutl"
 
+case ${mit_scheme_native_code} in
+aarch64be|aarch64le)
+    cmpauxmd="aarch64"
+    ;;
+*)
+    cmpauxmd="${mit_scheme_native_code}"
+    ;;
+esac
+
 case ${mit_scheme_native_code} in
 none)
     ;;
@@ -879,7 +888,7 @@ svm1-32be|svm1-32le|svm1-64be|svm1-64le)
     if test "x${M4}" = x; then
        AC_MSG_ERROR([m4 not found])
     fi
-    AC_CONFIG_LINKS([cmpauxmd.m4:cmpauxmd/${mit_scheme_native_code}.m4])
+    AC_CONFIG_LINKS([cmpauxmd.m4:cmpauxmd/${cmpauxmd}.m4])
     OPTIONAL_SOURCES="${OPTIONAL_SOURCES} cmpauxmd.m4"
     OPTIONAL_OBJECTS="${OPTIONAL_OBJECTS} cmpauxmd.o"
     ;;