- #22980: fix triplet configure test for more targets
This commit is contained in:
parent
662738980a
commit
5cc9c4fdf7
|
@ -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__)
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
Loading…
Reference in New Issue