summaryrefslogtreecommitdiff
path: root/sysdeps/tile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-04 13:32:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-04 13:32:06 +0000
commit9a2835df5c25bc5a5669029fc92a60bfe25bf1c3 (patch)
treed5a3769ac833c1fc33a279ad851e957791b00146 /sysdeps/tile
parent6c50bb532bb1f47084762e16fbf52af9b5a752d8 (diff)
downloadglibc-9a2835df5c25bc5a5669029fc92a60bfe25bf1c3.tar.gz
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 <https://sourceware.org/ml/libc-alpha/2016-11/msg00129.html>). * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
Diffstat (limited to 'sysdeps/tile')
-rw-r--r--sysdeps/tile/preconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/tile/preconfigure b/sysdeps/tile/preconfigure
index dfe050cc6d..f3e5d7edae 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