Download raw body.
[PATCH] makefiles: Introduce `NOLIBSHARED`
> This forces the build system to only produce static archives. This is > intended to be the counterpart of the (already existing) `NOLIBSTATIC`, > which does the opposite. > > N.B. There is already a `NOPIC` which also disables shared objects, but > in addition furthermore turns of position-independent-code. Now, `NOPIC` > implies `NOLIBSHARED` instead, and only directly concerns itself with > disabling position-independent-code. What would be a use case for NOLIBSHARED that NOPIC does not cover? > diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk > index acde59a95c1..d267c78099c 100644 > --- a/share/mk/bsd.own.mk > +++ b/share/mk/bsd.own.mk > @@ -68,6 +68,10 @@ BUILD_LLDB?=no > STATICPIE?=-pie > .endif > > +.ifdef defined(NOPIC) I don't think this line does what you intend it to do.
[PATCH] makefiles: Introduce `NOLIBSHARED`