How set more agresive CFLAGS to compile xorg-server

Glenn Johnson glennpj at charter.net
Mon Dec 13 09:23:34 PST 2004


On Mon, 2004-12-13 at 17:03 +0100, balle wrote:

> > On Mon, 13 Dec 2004 10:31:12 +0100, balle <azoth at xxxxxxxxx> wrote:
> > 
> >>hello!
> >>
> >>how set more agressive CFLAGS (like -O2 -march=pentiumpro) for
> >>xorg-server. Default flag is only -O.
> >>
> >>balle
> >>
> > 
> > 
> > Edit /etc/make.conf and add in 
> > CFLAGS= -O2 -pipe
> > 
> > There is more explanation about using make.conf in /etc/defaults/make.conf
> > 
> 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.
> 
> balle
> 

Add the following line
to /usr/dfports/x11-servers/xorg-server/files/patch-DragonFly.cf:

#define OptimizedCDebugFlags FreeBSDCFLAGS

Then do a 'make clean' and then a 'make install'.

-- 
Glenn Johnson <glennpj at xxxxxxxxxxx>






More information about the Users mailing list