How set more agresive CFLAGS to compile xorg-server

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 13 14:11:16 PST 2004


On Mon, Dec 13, 2004 at 05:03:35PM +0100, balle wrote:
> I set CFLAGS = -O2 -pipe, but port makefile strips CFLAGS to -O
> I don't understand why, becouse other ports compile with my CFLAGS very 
> well.

Answer a) You really really don't want to use -O2 here.
Answer b) It's a lot more work to correctly teach imake to use the inherited
CFLAGS value, if you really want to do that work, feel free to provide a
patch. Hacking in the values of CFLAGS at devel/imake* compile time
doesn't count.

Joerg





More information about the Users mailing list