Subject: annoying COPTS (sys/conf/
To: None <>
From: Toru TAKAMIZU <>
List: current-users
Date: 01/12/2003 15:13:56

sys/conf/ (-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/

Revision / (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 +2 -2 lines
Diff to previous (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.