summaryrefslogtreecommitdiff
path: root/Build/source/build-aux/config.guess
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-26 01:23:39 +0000
committerKarl Berry <karl@freefriends.org>2018-02-26 01:23:39 +0000
commit49e8f67527a080b135432b89cdc4118142a14f73 (patch)
tree89ec56a4170b50c492e8404caeadf6748d3912fd /Build/source/build-aux/config.guess
parent3cbe962e88572d1bf94e3ce8798a2f6abbc351e7 (diff)
tl-update-auto
git-svn-id: svn://tug.org/texlive/trunk@46744 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/build-aux/config.guess')
-rwxr-xr-xBuild/source/build-aux/config.guess8
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/build-aux/config.guess b/Build/source/build-aux/config.guess
index 9baaa270bfc..f50dcdb6de2 100755
--- a/Build/source/build-aux/config.guess
+++ b/Build/source/build-aux/config.guess
@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2018 Free Software Foundation, Inc.
-timestamp='2018-01-26'
+timestamp='2018-02-24'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1046,7 +1046,11 @@ EOF
echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
exit ;;
x86_64:Linux:*:*)
- echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
+ if objdump -f /bin/sh | grep -q elf32-x86-64; then
+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
+ else
+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
+ fi
exit ;;
xtensa*:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"