aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-06-16 23:36:20 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-06-16 23:36:20 +0000
commit27e1b8ab72621935e0ee28dec664651703ec0ec8 (patch)
treedc92e50f88e19d7f458a2f8bd774bc313db07e79
parent6f78e390107935efb5d6312b499fd7408cc2cfa0 (diff)
downloadsrc-27e1b8ab72621935e0ee28dec664651703ec0ec8.tar.gz
src-27e1b8ab72621935e0ee28dec664651703ec0ec8.zip
Hook extra libs to _LIBS so bsd.lib.mk can do its thing
Differential Revision: D2843 Reviewed by: imp
Notes
Notes: svn path=/head/; revision=284480
-rw-r--r--gnu/lib/libgcc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index f0efff476dc2..6972146dc9f2 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -338,7 +338,7 @@ libgcc_eh.a: ${EH_OBJS_T}
@${AR} ${ARFLAGS} ${.TARGET} `lorder ${EH_OBJS_T} | tsort -q`
${RANLIB} ${RANLIBFLAGS} ${.TARGET}
-all: libgcc_eh.a
+_LIBS+= libgcc_eh.a
.if ${MK_PROFILE} != "no"
libgcc_eh_p.a: ${EH_OBJS_P}
@@ -346,7 +346,8 @@ libgcc_eh_p.a: ${EH_OBJS_P}
@rm -f ${.TARGET}
@${AR} ${ARFLAGS} ${.TARGET} `lorder ${EH_OBJS_P} | tsort -q`
${RANLIB} ${RANLIBFLAGS} ${.TARGET}
-all: libgcc_eh_p.a
+
+_LIBS+= libgcc_eh_p.a
.endif
_libinstall: _lib-eh-install