diff options
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config.guess b/config.guess index d27eee7fd0..f002f48361 100755 --- a/config.guess +++ b/config.guess @@ -300,7 +300,14 @@ EOF echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; *:Linux:*:*) - # Determine whether the default compiler is a.out or elf + # Systems without a BFD linker + if test -d /usr/lib/ldscripts/. ; then + : + else + echo "${UNAME_MACHINE}-unknown-linuxoldld" + exit 0 + fi + # Determine whether the default compiler is a.out or elf cat >dummy.c <<EOF main(argc, argv) int argc; |