aboutsummaryrefslogtreecommitdiff
path: root/ld/config/irix4.mh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/config/irix4.mh')
-rw-r--r--ld/config/irix4.mh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/config/irix4.mh b/ld/config/irix4.mh
index 7e778a4..0ac5b8c 100644
--- a/ld/config/irix4.mh
+++ b/ld/config/irix4.mh
@@ -1,3 +1,3 @@
# Irix 4.0.1 does not use /lib/crt0.o
HOSTING_CRT0=/usr/lib/crt1.o
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo $(libdir)/libgcc.a; fi` -lc /usr/lib/crtn.o
+HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o