From: Joseph Myers Date: Fri, 4 Nov 2016 13:32:06 +0000 (+0000) Subject: Handle tilegx* machine names. X-Git-Tag: glibc-2.25~348 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a2835df5c25bc5a5669029fc92a60bfe25bf1c3;p=thirdparty%2Fglibc.git Handle tilegx* machine names. This patch makes sysdeps/tile/preconfigure handle tilegx* machine names instead of just plain tilegx. That matches GCC, and in particular allows a big-endian toolchain to use the tilegxbe-linux-gnu name when configuring both GCC and glibc. Tested with compilation for tilegxbe-linux-gnu, both 32-bit and 64-bit (building a subsequent GCC against that glibc still falls over because of both 32-bit and 64-bit libraries going in the lib directory, as noted at ). * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx. --- diff --git a/ChangeLog b/ChangeLog index e37049d8e0c..b6d2ba02d1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-11-04 Joseph Myers + + * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx. + 2016-11-03 Joseph Myers * conform/Makefile ($(linknamespace-header-tests)): Also depend on diff --git a/sysdeps/tile/preconfigure b/sysdeps/tile/preconfigure index dfe050cc6d0..f3e5d7edae5 100644 --- a/sysdeps/tile/preconfigure +++ b/sysdeps/tile/preconfigure @@ -2,7 +2,7 @@ case "$machine" in tilepro) base_machine=tile machine=tile/tilepro ;; - tilegx) + tilegx*) base_machine=tile if $CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep -q __LP64__; then machine=tile/tilegx/tilegx64