Subject: Re: libcurses and CFLAGS
To: None <>
From: Alan Barrett <>
List: current-users
Date: 11/19/2007 15:25:48
On Mon, 19 Nov 2007, Zafer Aydogan wrote:
> since a while I'm having problems building a release, if I'm using
> CFLAGS=-march=i686 in mk.conf.

Don't set CFLAGS in /etc/mk.conf; set CPUFLAGS for things like
"-march=i686", or append to COPTS for things like "-O3 -g".  The
mk.conf(5) man page is supposed to document this, but it is not really
clear enough.

--apb (Alan Barrett)