diff options
| author | matt <matt@NetBSD.org> | 2003-11-13 05:56:30 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2003-11-13 05:56:30 +0000 |
| commit | 9e7bfda285d3fda015bc4085b21331bbd293576c (patch) | |
| tree | ccad090d5e28e671efefdd61597217cfad903f6b | |
| parent | 707e7871388ce757c80cf05fc9c1ca34c95697a9 (diff) | |
Use ${HOST_LN}
Fix how hppa gets to -lgcc_pic
| -rw-r--r-- | share/mk/bsd.lib.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 24c4ed6f2dc..7c50c6a5ff8 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.240 2003/11/11 11:43:45 dsl Exp $ +# $NetBSD: bsd.lib.mk,v 1.241 2003/11/13 05:56:30 matt Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .include <bsd.init.mk> @@ -135,7 +135,7 @@ CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS} APICFLAGS?= -k # XXX libraries often need the millicode functions in libgcc.a, # so we have to work around the -nostdlib: -LDADD+= `${CC} -print-libgcc-file-name` +LDADD+= -L${_GCC_LIBGCCDIR} -lgcc_pic .else @@ -434,9 +434,9 @@ lib${LIB}.so.${SHLIB_FULLVERSION}: ${SOLIB} ${DPADD} \ # We don't use INSTALL_SYMLINK here because this is just # happening inside the build directory/objdir. XXX Why does # this spend so much effort on libraries that aren't live??? XXX - ln -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.${SHLIB_MAJOR}.tmp + ${HOST_LN} -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.${SHLIB_MAJOR}.tmp mv -f lib${LIB}.so.${SHLIB_MAJOR}.tmp lib${LIB}.so.${SHLIB_MAJOR} - ln -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.tmp + ${HOST_LN} -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.tmp mv -f lib${LIB}.so.tmp lib${LIB}.so .endif |
