Browse Source

- #22980: fix triplet configure test for more targets

pull/9921/head
doko@ubuntu.com 11 years ago
parent
commit
5cc9c4fdf7
  1. 7
      configure
  2. 7
      configure.ac

7
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__)

7
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__)

Loading…
Cancel
Save