Fix the .c.a brokenness with libbfd the "right" way - nuke everything but
*o from .ALLSRC.
This commit is contained in:
parent
592953d009
commit
aefeb9110b
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.lib.mk,v 1.137 1998/08/09 14:46:19 lukem Exp $
|
||||
# $NetBSD: bsd.lib.mk,v 1.138 1998/08/22 18:59:40 tv Exp $
|
||||
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
|
||||
|
||||
.if !target(__initialized__)
|
||||
|
@ -202,7 +202,7 @@ all: ${SRCS} ${_LIBS}
|
|||
|
||||
__archivebuild: .USE
|
||||
@rm -f ${.TARGET}
|
||||
@${AR} cq ${.TARGET} `NM=${NM} ${LORDER} ${.ALLSRC} | ${TSORT}`
|
||||
@${AR} cq ${.TARGET} `NM=${NM} ${LORDER} ${.ALLSRC:M*o} | ${TSORT}`
|
||||
${RANLIB} ${.TARGET}
|
||||
|
||||
__archiveinstall: .USE
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: sys.mk,v 1.42 1998/05/22 13:52:52 tv Exp $
|
||||
# $NetBSD: sys.mk,v 1.43 1998/08/22 18:59:40 tv Exp $
|
||||
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
|
||||
|
||||
unix?= We run NetBSD.
|
||||
|
@ -84,12 +84,10 @@ YACC.y?= ${YACC} ${YFLAGS}
|
|||
${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
|
||||
.c.o:
|
||||
${COMPILE.c} ${.IMPSRC}
|
||||
.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "arm32")
|
||||
.c.a:
|
||||
${COMPILE.c} ${.IMPSRC}
|
||||
${AR} ${ARFLAGS} $@ $*.o
|
||||
rm -f $*.o
|
||||
.endif
|
||||
.c.ln:
|
||||
${LINT} ${LINTFLAGS} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}
|
||||
|
||||
|
|
Loading…
Reference in New Issue