aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-05-22 20:48:50 +0000
committerPer Bothner <per@bothner.com>1992-05-22 20:48:50 +0000
commitd219bf5068bacfb47f19ff2667160f577751a139 (patch)
treea68673283a5a89213cc9e8744dee882f2a2abb85 /ld
parent45212e5e5c6b72fa6af320c2adbea696074d3e57 (diff)
downloadgdb-d219bf5068bacfb47f19ff2667160f577751a139.zip
gdb-d219bf5068bacfb47f19ff2667160f577751a139.tar.gz
gdb-d219bf5068bacfb47f19ff2667160f577751a139.tar.bz2
* config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
Diffstat (limited to 'ld')
-rwxr-xr-xld/config/sparc.mh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/config/sparc.mh b/ld/config/sparc.mh
index 4e7f4a0..3cf3518 100755
--- a/ld/config/sparc.mh
+++ b/ld/config/sparc.mh
@@ -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