Subject: Re: Failure to build 68060 kernel (need -O2)
To: None <port-amiga@netbsd.org>
From: Gunther Nikl <gni@gecko.de>
List: port-amiga
Date: 07/07/2003 11:10:46
On Sun, Jul 06, 2003 at 08:11:01PM -0400, John Klos wrote:
> Hmmm. You mean if I stick an -O2 in there, it might work?
> 
> Ok, tried that. Built a kernel. Kernel runs. Kernel is much smaller:
> 
> 1789556 Jul  6 15:07 netbsd
> 2648433 Jun 24 16:58 netbsd.bad

  Seems your really compiled without optimization. I wonder how that
  happened.

> Oh, well. Live and learn! I do remember someone mentioning that, in spite
> of the fact that COPTS+= implies that you are adding to the list of COPTS,
> that it replaces the default, so -O2 would come out. I guess I forgot.

  I am confused. AFAIK, adding doesn't replace.

  Gunther