Date: Tue, 29 May 2007 14:08:28 +0200 From: Pieter de Goeje <pieter@degoeje.nl> To: freebsd-current@freebsd.org Subject: Re: problems with make.conf Message-ID: <200705291408.28690.pieter@degoeje.nl> In-Reply-To: <200705260957.51060.c47g@gmx.at> References: <200705260957.51060.c47g@gmx.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 26 May 2007, Christian Gusenbauer wrote: > Hi! > > I've a problem compiling the port graphics/libGLw. The port's Makefile > contains the line > > CFLAGS+=-D__GLX_MOTIF=1 > > As long as I don't set my own CFLAGS in /etc/make.conf, the port compiles > fine. But if I set my own CFLAGS in /etc/make.conf, the CFLAGS+= line in > the Makefile seems to be ignored (or overwritten by my settings). > > How do I correctly use the /etc/make.conf file? How can I use my own > settings? > > Thanks, > Christian. Have you tried putting CFLAGS+= .... (note the +) in make.conf? Otherwise you could try setting the correct cflags in the environment before executing make, for example: setenv CFLAGS -Os. HTH, Pieter de Goeje
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705291408.28690.pieter>