[PATCH] Fix CFLAGS overwrite by Makefile

Andriy Gapon avg at FreeBSD.org
Wed May 25 16:57:24 UTC 2011


on 25/05/2011 19:28 John Baldwin said the following:
> On Wednesday, May 25, 2011 11:34:29 am Arnaud Lacombe wrote:
>> The more broad issue with the setup is that gcc within that
>> environment, without being told -march=i586, produces i686
>> instructions which are incompatible with the target CPU.
> 
> Huh?  GCC does not generate i686 instructions by default on FreeBSD/i386.  It 
> generates i486 instructions but that is all.  Are you sure you aren't running 
> the 64-bit gcc (which will generate i686 instructions by default)?

Just curious if Arnaud has forgot to set
UNAME_m="i386"
UNAME_p="i386"
in the environment of his build shell within the jail.

-- 
Andriy Gapon


More information about the freebsd-current mailing list