Subject: Re: CFLAGS and building X from xsrc
To: Vincent <10.50@free.fr>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: current-users
Date: 09/04/2004 18:05:33
On Sat, Sep 04, 2004 at 14:51:49 +0200, Vincent wrote:

> I might be the zillionth one to ask this (in which case I apologize), 
> but what is the trick to get gcc compile things in xsrc with the CFLAGS 
> defined in /etc/mk.conf ?
> 
> Unlike kernel or userland builds, X builds seem to ignore totally what 
> is in this file.

If you are building xsrc from within xsrc, you are NOT using
/etc/mk.conf settings.  You need to tweak the imake configuration
(local.def, iirc).

If you use src/x11 to (cross)build, settings from /etc/mk.conf should
work just fine.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen