* config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
authorPer Bothner <per@bothner.com>
Fri, 22 May 1992 20:48:50 +0000 (20:48 +0000)
committerPer Bothner <per@bothner.com>
Fri, 22 May 1992 20:48:50 +0000 (20:48 +0000)
ld/config/sparc.mh

index 4e7f4a081f6bf795a7485414d1d000623c63b5ae..3cf35180b83f436a625536fc2323b60cc98470b4 100755 (executable)
@@ -2,6 +2,6 @@ YACC=yacc -tvd
 #CC=gcc -Wall -ansi
 #stuff for self hosting
 HOSTING_CRT0=/lib/crt0.o
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo /usr/latest/lib/gcc/sun4/libgcc.a; fi`  -lc
+HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo $(libdir)/libgcc.a; fi`  -lc
 HOSTING_EMU=LDEMULATION=sun4; export LDEMULATION