Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 21:55:29 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        arch@FreeBSD.ORG
Subject:   Re: Per-source CFLAGS
Message-ID:  <20030622045529.GA80446@dhcp01.pn.xcllnt.net>
In-Reply-To: <20030622005124.GA59673@HAL9000.homeunix.com>
References:  <20030622005124.GA59673@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 21, 2003 at 05:51:24PM -0700, David Schultz wrote:
> The following patch adds support for per-file CFLAGS, which gets
> appended to the command line after the global CFLAGS.

Per file compilation options are in direct conflict with make
invocator control, by way of it being a makefile writer knob.
Put differently: it's a feature for developers, not builders.
We already see the problem with that when we define CFLAGS on
the make command line, rather than in the environment. I'm
not opposed to per-file options, but it seems to push the
need to split make invocator knobs from makefile writer knobs.
Until we have such seperation, I request that per-file options
be made conditional so that make invocators still have control
without being powerless.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030622045529.GA80446>