Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Failure to build 68060 kernel (need -O2)
On Mon, Jul 07, 2003 at 05:17:10AM -0400, John Klos wrote:
> > > 1789556 Jul 6 15:07 netbsd
> > > 2648433 Jun 24 16:58 netbsd.bad
> >
> > Seems your really compiled without optimization. I wonder how that
> > happened.
>
> Big difference!
?
> > I am confused. AFAIK, adding doesn't replace.
>
> Somewhere I read or was told that when one doesn't use COPTS or CFLAGS
> (forget which), the toolchain uses some default values. But setting one of
> COPTS or CFLAGS causes that set of defaults to not get used. So if a
> toolchain defaults to -O2, then that default needs to be explicitely put
> back into a COPTS or CFLAGS line.
Maybe the system mk files use ?= meaning that the assignment is only done
if its not already set. This would mean that /etc/mk.conf is read before
everyelse is done.
Gunther
Home |
Main Index |
Thread Index |
Old Index