build failures after stdlib update

Pegasus Mc Cleaft ken at mthelicon.com
Sun Mar 21 12:32:42 UTC 2010


> > it would be nice if people with arch i386 and amd64 could try to
> > reproduce this (i believe the other archs don't support CPUTYPE=native).
> > again the easiest way to trigger this (you don't need to edit your
> > /etc/make.conf for this) should be running:
> >
> > gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1
> >

	I didnt think  you could add CPUTYPE=native to the /etc/make.conf

	What I used to do when I was compiling native was to do something like 
the following in the /etc/make.conf

CPUTYPE?=core2
NO_CPU_CFLAGS=
CFLAGS= -mtune=native  -O2 -fno-strict-aliasing -pipe -s

Peg


More information about the freebsd-current mailing list