Re: -current kernel does not boot

Martin Husemann <[email protected]> Sat, 6 Mar 2021 18:40:18 +0100
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <[email protected]>
On Sat, Mar 06, 2021 at 06:34:45PM +0100, Martin Husemann wrote:
> On Sat, Mar 06, 2021 at 05:29:31PM +0000, Robert Swindells wrote:
> > I was building with "COPTS+= -m68040", without that it builds, used
> > to build fine with it.
> 
> Ah - I'll check that.

Heh, I found I have this in my config:

makeoptions     COPTS="-m68040 -O2 -pipe"

Probably the COPTS+= does not do what you intended, depending on the order
of definitions and checks it may totaly override the default and drop -O2,
which then makes gcc create very different code.

Martin