tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Packages not honouring CFLAGS

On Sun, Aug 09, 2015 at 07:57:04PM +0000, David Holland wrote:
> The upshot of all this is that honoring external CFLAGS (from pkgsrc
> or wherever) in general requires explicit patching.
> For simple packages this is usually no more complex than
>    -CFLAGS=-O2 -Wall
>    +CFLAGS+=-O2 -Wall
> in a couple places; it is not hard to do and the problem is only that
> there's a lot of it.

In general, adding CFLAGS to MAKE_FLAGS will override this without
needing a patch; i.e.:


Home | Main Index | Thread Index | Old Index