DragonFly BSD
DragonFly users List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How set more agresive CFLAGS to compile xorg-server


From: Glenn Johnson <glennpj@xxxxxxxxxxx>
Date: Mon, 13 Dec 2004 11:22:57 -0600

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

> > On Mon, 13 Dec 2004 10:31:12 +0100, balle <azoth@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@xxxxxxxxxxx>




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