mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
Support for pre-BFD versions of Linux ld.
This commit is contained in:
parent
b30748fc38
commit
374cdad41b
9
config.guess
vendored
9
config.guess
vendored
@ -300,7 +300,14 @@ EOF
|
|||||||
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:Linux:*:*)
|
*: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
|
cat >dummy.c <<EOF
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user