Subject: Re: toolchain/34528: when crosscompiling for sun3, can't specify -m68020
To: Izumi Tsutsui <>
From: Jason Thorpe <>
List: netbsd-bugs
Date: 09/14/2006 13:46:26
On Sep 14, 2006, at 1:38 PM, Izumi Tsutsui wrote:

> I think you have to use "CPUFLAGS=-m68020 -Wa,-mc68020".
> sys/arch/sun68k/stand/libsa/Makefile specifies
> "-mc68000 -Wa,-mc68010 -Wa,-m68851" for sun2 support,
> so you have to override -Wa args too.

That's annoying.  libsa/Makefile should completely override and ignore  
ANY user-specified settings.  i386 standalone code does this, IIRC.

-- thorpej