summaryrefslogtreecommitdiffstats
path: root/llvm/autoconf/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/autoconf/configure.ac')
-rw-r--r--llvm/autoconf/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index d6c89e36009..1ef8536412d 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -233,6 +233,13 @@ if test "$llvm_cv_target_arch" = "Unknown" ; then
AC_MSG_WARN([Configuring LLVM for an unknown target archicture])
fi
+if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
+ AC_IS_LINUX_MIXED
+ if test "$llvm_cv_linux_mixed" = "yes"; then
+ llvm_cv_target_arch="x86"
+ fi
+fi
+
dnl Define a substitution, ARCH, for the target architecture
AC_SUBST(ARCH,$llvm_cv_target_arch)
OpenPOWER on IntegriCloud