Subject: Re II: CFLAGS and building X from xsrc
To: Vincent <10.50@free.fr>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <timo.schoeler@macfinity.net>
List: current-users
Date: 09/04/2004 15:03:51
> Hi,
> 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.
>
> Thanks !
> Vincent

bingo -- failed (was not yet stripping i guess, sorry ;)

nbmake: stopped in /usr/src/x11
*** [do-x11] Error code 1
1 error

nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" 
;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: 
$@)}"; cd "${real}" && /usr/cross_amiga/bin/nbmake _THISDIR_="${this}" 
"$@" ${target}; }; _makedirtarget . do-x11
*** Error code 2

Stop.
nbmake: stopped in /usr/src
*** [release] Error code 1
1 error

nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***

cvs checkout approx. three hours ago, NetBSD2.0_BETA (i386/MP)

-- 
mit vorzueglichster Hochachtung/best regards,

Timo Schoeler
//macfinity -- finest IT services | Triftstrasse 39 | 13353 Berlin | 
Germany
Fon ++49 30 25 20 30 20 | Fax ++49 30 25 20 30 19
PGP data http://www.macfinity.net/~tis/contact/PGPPKB_timo.schoeler.txt