summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-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.