Module Name: src
Committed By: joerg
Date: Sun Apr 10 16:45:52 UTC 2011
Modified Files:
src/distrib/i386/ramdisks/common: Makefile.ramdisk
Log Message:
Extend LDFLAGS, don't replace it.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/distrib/i386/ramdisks/common/Makefile.ramdisk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/i386/ramdisks/common/Makefile.ramdisk
diff -u src/distrib/i386/ramdisks/common/Makefile.ramdisk:1.9 src/distrib/i386/ramdisks/common/Makefile.ramdisk:1.10
--- src/distrib/i386/ramdisks/common/Makefile.ramdisk:1.9 Thu Feb 11 09:06:48 2010
+++ src/distrib/i386/ramdisks/common/Makefile.ramdisk Sun Apr 10 16:45:52 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.ramdisk,v 1.9 2010/02/11 09:06:48 roy Exp $
+# $NetBSD: Makefile.ramdisk,v 1.10 2011/04/10 16:45:52 joerg Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -29,7 +29,8 @@
# This propogates through to the link of ramdiskbin
# The map file is useful when trying to prune the image
-CRUNCHENV += LDFLAGS='-Wl,-Map,${CRUNCHBIN}.map,--cref'
+LDFLAGS+= -Wl,-Map,${CRUNCHBIN}.map,--cref
+CRUNCHENV += LDFLAGS=${LDFLAGS:Q}
.if defined(USE_SYSINST)
.if ${USE_SYSINST} != yes