Creation of the NO_SSP build knob
Jeremie Le Hen
jeremie at le-hen.org
Mon Sep 8 13:08:34 UTC 2008
Hello Dag-Erling,
On Mon, Sep 08, 2008 at 01:16:16PM +0200, Dag-Erling Smørgrav wrote:
> Ruslan Ermilov <ru at FreeBSD.org> writes:
> > There's no possibility to easily make what you want, i.e., disable
> > SSP for some parts of the tree. Doing it for particular makefiles
> > OTOH should be pretty easy, by starting a makefile with the
> > following two lines:
>
> That's not "what Jeremie wants", that's what the Makefiles already do.
> Parts of the tree *can't* be built with SSP enabled, and the Makefiles
> set WITHOUT_SSP to disable it.
That's what the Makefiles already do indeed. Please excuse me if my
english wasn't good enough to express it correctly.
You are right to say that parts of the tree can't be build with SSP
enabled. IMHO, the problem lies in the way it's enforced: using
WITH_SSP shouldn't lead to a build error.
The patch I sent along my reply to Ruslan corrects this.
By the way, I think WITH_*/WITHOUT_* options should be user-only options
and shouldn't be used in the source tree. This would avoid this kind of
problem.
Regards,
--
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
More information about the freebsd-hackers
mailing list