summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-09-21 11:29:03 +0000
committerNorbert Preining <preining@logic.at>2009-09-21 11:29:03 +0000
commit8b83aabb793817f70b5b1cf323983efdf47c4639 (patch)
treedad1660bc63a7e1fc280bf43111d342257b1ab79 /Master
parentd85421b6e6d49e1ba6916c57fd8b53fef089d667 (diff)
fix i?86 detection without a loader. This fix will be included upstream
git-svn-id: svn://tug.org/texlive/trunk@15397 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/installer/config.guess5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/tlpkg/installer/config.guess b/Master/tlpkg/installer/config.guess
index bb0b03ea114..1030b5f308d 100755
--- a/Master/tlpkg/installer/config.guess
+++ b/Master/tlpkg/installer/config.guess
@@ -967,6 +967,11 @@ EOF
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
i*86:Linux:*:*)
+ # we need to patch config.guess since the detection method here
+ # assumes that a C compiler is installed, which is a bad thing.
+ # we assume that we are running ELF and echo immediately
+ echo ${UNAME_MACHINE}-pc-linux-gnu
+ exit
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
# problems with other programs or directories called `ld' in the path.