- #22980: fix triplet configure test for more targets

This commit is contained in:
doko@ubuntu.com 2015-04-19 14:44:05 +02:00
parent 662738980a
commit 5cc9c4fdf7
2 changed files with 14 additions and 0 deletions

7
configure vendored
View File

@ -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 "$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; } $as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }
cat >> conftest.c <<EOF cat >> conftest.c <<EOF
#undef bfin
#undef cris
#undef fr30
#undef linux #undef linux
#undef hppa
#undef hpux
#undef i386 #undef i386
#undef mips
#undef powerpc #undef powerpc
#undef sparc
#undef unix #undef unix
#if defined(__linux__) #if defined(__linux__)
# if defined(__x86_64__) && defined(__LP64__) # if defined(__x86_64__) && defined(__LP64__)

View File

@ -728,9 +728,16 @@ AC_SUBST(MULTIARCH)
AC_MSG_CHECKING([for the platform triplet based on compiler characteristics]) AC_MSG_CHECKING([for the platform triplet based on compiler characteristics])
cat >> conftest.c <<EOF cat >> conftest.c <<EOF
#undef bfin
#undef cris
#undef fr30
#undef linux #undef linux
#undef hppa
#undef hpux
#undef i386 #undef i386
#undef mips
#undef powerpc #undef powerpc
#undef sparc
#undef unix #undef unix
#if defined(__linux__) #if defined(__linux__)
# if defined(__x86_64__) && defined(__LP64__) # if defined(__x86_64__) && defined(__LP64__)