Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Use ${HOST_LN}
details: https://anonhg.NetBSD.org/src/rev/839c18f89b9f
branches: trunk
changeset: 555276:839c18f89b9f
user: matt <matt%NetBSD.org@localhost>
date: Thu Nov 13 05:56:30 2003 +0000
description:
Use ${HOST_LN}
Fix how hppa gets to -lgcc_pic
diffstat:
share/mk/bsd.lib.mk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r d889a01b362d -r 839c18f89b9f share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk Thu Nov 13 05:54:44 2003 +0000
+++ b/share/mk/bsd.lib.mk Thu Nov 13 05:56:30 2003 +0000
@@ -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 @@
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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index