Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/librump fails to build with todays sources



On Fri, Nov 07, 2008 at 01:22:35PM +0000, Roy Marples wrote:
> Matthias Scheler wrote:
>> On 4 Nov 2008, at 22:30, Roy Marples wrote:
>>> Sorry for the noise. This was caused by
>>> CFLAGS=        -Os -march=noncona
>>> vs
>>> CFLAGS+=    -Os -march=nocona
>>
>> That should read "CPUFLAGS= -Os -march=nocona".
>>
>> Please don't change "CFLAGS" because it can cause various
>> build failures.
>
> How do I then set flags for packages?

Enclose all your pkgsrc settings in a .ifdef BSD_PKG_MK/.endif block.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgp0KMK3ot17z.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index