Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/zaurus/conf




On 05/01/2020 13:47, Izumi Tsutsui wrote:
[snip]

My patch allows COPTS to be overridden as


http://src.illumos.org/source/xref/netbsd-src/sys/conf/Makefile.kern.inc#69

has

69 DEFCOPTS?=	-O2
70 COPTS?=	${DEFCOPTS}

which I believe allows COPTS to be overridden by

makeoptions COPTS="..."

If it's users' responsibility to explicitly add "-mapcs-frame" in COPTS
when they want to build a kernel with both COPTS="-Os" and options DDB,
it's okay for me.  (I'm afraid zaurus GENERIC needs -Os in near future)

I changed the use of COPTS to CFLAGS - hopefully this fixes all problems.

Sorry for the breakage.

Nick


Home | Main Index | Thread Index | Old Index