From fb0bfc1341055e5e0ad8cf65effbfec6a43ff6da Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 20 Apr 2019 20:09:12 +0000 Subject: [PATCH] Link the endian-independent cmpauxmd for aarch64. --- src/microcode/configure.ac | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index def73f6ec..f4a98cf42 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -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" ;; -- 2.25.1