summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure7
-rw-r--r--configure.ac7
2 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index 2e59ac8da5..d5181f0693 100755
--- a/configure
+++ b/configure
@@ -5069,9 +5069,16 @@ MULTIARCH=$($CC --print-multiarch 2>/dev/null)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5
$as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }
cat >> conftest.c <<EOF
+#undef bfin
+#undef cris
+#undef fr30
#undef linux
+#undef hppa
+#undef hpux
#undef i386
+#undef mips
#undef powerpc
+#undef sparc
#undef unix
#if defined(__linux__)
# if defined(__x86_64__) && defined(__LP64__)
diff --git a/configure.ac b/configure.ac
index 73a0a2f2ae..9b12dbfd1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -728,9 +728,16 @@ AC_SUBST(MULTIARCH)
AC_MSG_CHECKING([for the platform triplet based on compiler characteristics])
cat >> conftest.c <<EOF
+#undef bfin
+#undef cris
+#undef fr30
#undef linux
+#undef hppa
+#undef hpux
#undef i386
+#undef mips
#undef powerpc
+#undef sparc
#undef unix
#if defined(__linux__)
# if defined(__x86_64__) && defined(__LP64__)