Reflect the change to archivebuild in bsd.lib.mk rev 1.296 for

deterministic builds, as hinted by perry.
This commit is contained in:
pooka 2009-03-19 12:01:50 +00:00
parent 3c7a0b7662
commit 83102249b5

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.rump,v 1.33 2009/02/12 13:23:17 lukem Exp $
# $NetBSD: Makefile.rump,v 1.34 2009/03/19 12:01:50 pooka Exp $
#
WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet
@ -56,7 +56,7 @@ _SYMQUIRK='|\$$\$$'
__archivebuild: .USE
${_MKTARGET_BUILD}
rm -f ${.TARGET}
${AR} cq ${.TARGET} `NM=${NM} ${LORDER} ${.ALLSRC:M*o} | ${TSORT}`
${AR} ${_ARFL} ${.TARGET} `NM=${NM} ${LORDER} ${.ALLSRC:M*o} | ${TSORT}`
${NM} -go ${.TARGET} | ${TOOL_AWK} ' \
$$NF!~/^(rump|RUMP|__|_GLOBAL_OFFSET_TABLE'${_SYMQUIRK}')/ \
{printf "%s rumpns_%s\n", $$NF, $$NF}' \