tech-pkg archive

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

Re: How to prevent -O2 in CFLAGS?

On Thu, 9 Feb 2012, Gr?goire Sutre wrote:

> Hopefully this problem will be solved upstream.  But, still, I'd like
> to know how to prevent CFLAGS from containing `-O2', and, in general,
> how to control the setting of CFLAGS.

Have a look at following for an idea:

pkgsrc/emulators/simh/Makefile:BUILDLINK_TRANSFORM+=       rm:-O2
pkgsrc/net/isic/Makefile:BUILDLINK_TRANSFORM+=     rm:-O[0-9]*

Home | Main Index | Thread Index | Old Index