Subject: CVS commit: pkgsrc/mk/wrapper
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 12/18/2006 00:21:31
Module Name:	pkgsrc
Committed By:	rillig
Date:		Mon Dec 18 00:21:31 UTC 2006

Modified Files:
	pkgsrc/mk/wrapper: transform-sunpro-cc

Log Message:
Some of the SunPro compilers (cc, c89) cannot handle the -O0 and -O1
options. Some others (c99, CC) can. To avoid linker errors about
"illegal option -- 1", these options are converted to -xO0 and -xO1,
which work.

Committed during the freeze to avoid breakage of packages. The code that
passed the -O0 and -O1 options through is relatively new, so there may
not have shown packages that break because of this.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 pkgsrc/mk/wrapper/transform-sunpro-cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.