Subject: annoying COPTS (sys/conf/Makefile.kern.inc)
To: None <current-users@netbsd.org>
From: Toru TAKAMIZU <ttaka@earth.email.ne.jp>
List: current-users
Date: 01/12/2003 15:13:56
Hello.
sys/conf/Makefile.kern.inc 1.13.4.8 (-rnetbsd-1-6) annoys me
because whatever COPTS I define, "-O2" is appended to it.
However, simply reverting to the previous brings back another problem
again - see the log below. What is a good solution?
**************************************************************************
CVS log for src/sys/conf/Makefile.kern.inc
Revision 1.13.4.8 / (download) - annotate - [select for diffs], Sun Dec 1
22:26:32 2002 UTC (5 weeks, 6 days ago) by he
Branch: netbsd-1-6
Changes since 1.13.4.7: +2 -2 lines
Diff to previous 1.13.4.7 (colored) to branchpoint 1.13 (colored) next main
1.14 (colored)
Pull up revision 1.23 (requested by sjg in ticket #877):
Replace COPTS?= with COPTS+=, so that setting COPTS in
/etc/mk.conf (common on sparc systems) does not cause the
-O2 in DEFCOPTS to be lost, resulting an an unloadable
kernel on sparc.