Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/i386/ramdisks/common Extend LDFLAGS, don't replace it.



details:   https://anonhg.NetBSD.org/src/rev/19781983f90e
branches:  trunk
changeset: 764028:19781983f90e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Apr 10 16:45:52 2011 +0000

description:
Extend LDFLAGS, don't replace it.

diffstat:

 distrib/i386/ramdisks/common/Makefile.ramdisk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 749a0f07243a -r 19781983f90e distrib/i386/ramdisks/common/Makefile.ramdisk
--- a/distrib/i386/ramdisks/common/Makefile.ramdisk     Sun Apr 10 16:30:32 2011 +0000
+++ b/distrib/i386/ramdisks/common/Makefile.ramdisk     Sun Apr 10 16:45:52 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index