diff options
| author | uwe <uwe@NetBSD.org> | 2006-05-13 01:50:51 +0000 |
|---|---|---|
| committer | uwe <uwe@NetBSD.org> | 2006-05-13 01:50:51 +0000 |
| commit | e37068ccdf0f8dfc42ad11892ab61494bb2be473 (patch) | |
| tree | c353d135695c07c6329d9d5ed8df103e11730e77 /gnu | |
| parent | 6688c1d37d16e0c097f15653cd331c4cbda06056 (diff) | |
Force building and installing libgcc_pic.a when MKPIC=yes even when
MKPICINSTALL=no, as it is required to build shared libraries. Move it
to comp-c-lib set to match crtbeginS.o
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/lib/libgcc3/libgcc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/lib/libgcc3/libgcc/Makefile b/gnu/lib/libgcc3/libgcc/Makefile index cdd236e1fa5..24b5f2c8693 100644 --- a/gnu/lib/libgcc3/libgcc/Makefile +++ b/gnu/lib/libgcc3/libgcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/04/18 04:32:51 lukem Exp $ +# $NetBSD: Makefile,v 1.7 2006/05/13 01:50:51 uwe Exp $ REQUIRETOOLS= yes NOLINT= # defined @@ -21,6 +21,11 @@ SRCS+= ${LIB2FUNCS} ${LIB2FUNCS_ST} ${LIB2DIVMOD} \ SRCS+= ${LIB2_EH} .endif +# libgcc_pic.a is required for building shared libs +.if ${MKPIC} != "no" +MKPICINSTALL= yes +.endif + .include <bsd.lib.mk> CLEANFILES+= ${SOBJS:=.tmp1} ${SOBJS:=.tmp2} |
