Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2010 12:32:35 +0000
From:      Pegasus Mc Cleaft <ken@mthelicon.com>
To:        freebsd-current@freebsd.org
Cc:        Garrett Cooper <yanefbsd@gmail.com>, Alexander Best <alexbestms@wwu.de>
Subject:   Re: build failures after stdlib update
Message-ID:  <201003211232.35497.ken@mthelicon.com>
In-Reply-To: <7d6fde3d1003210443j2879aca4lbd7187d9e41a5db2@mail.gmail.com>
References:  <7d6fde3d1003202147i1af5969bi333b58db6430c100@mail.gmail.com> <permail-20100321110009f0889e84000039fe-a_best01@message-id.uni-muenster.de> <7d6fde3d1003210443j2879aca4lbd7187d9e41a5db2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003211232.35497.ken>