Module Name:    src
Committed By:   matt
Date:           Fri Aug 21 18:02:35 UTC 2009

Modified Files:
        src/sys/lib/libkern [matt-nb5-mips64]: Makefile

Log Message:
Pass LDFLAGS to LD


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.89.10.1 src/sys/lib/libkern/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/Makefile
diff -u src/sys/lib/libkern/Makefile:1.89 src/sys/lib/libkern/Makefile:1.89.10.1
--- src/sys/lib/libkern/Makefile:1.89	Mon Jun 30 19:03:59 2008
+++ src/sys/lib/libkern/Makefile	Fri Aug 21 18:02:35 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.89 2008/06/30 19:03:59 matt Exp $
+#	$NetBSD: Makefile,v 1.89.10.1 2009/08/21 18:02:35 matt Exp $
 
 LIB=		kern
 NOPIC=		# defined
@@ -91,12 +91,12 @@
 lib${LIB}.o:: ${OBJS}
 	@echo building standard ${LIB} library
 	@rm -f lib${LIB}.o
-	@${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
+	@${LD} ${LDFLAGS} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
 
 lib${LIB}.po:: ${POBJS}
 	@echo building profiled ${LIB} library
 	@rm -f lib${LIB}.po
-	@${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
+	@${LD} ${LDFLAGS} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
 
 showsources: ${SRCS}
 	@echo ${.ALLSRC}

Reply via email to