Subject: Re: CFLAGS and building X from xsrc
To: Vincent <>
From: Valeriy E. Ushakov <>
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
--                         |       Zu Grunde kommen            |       Ist zu Grunde gehen