Subject: CVS commit: pkgsrc/mk/buildlink3
To: None <pkgsrc-changes@NetBSD.org>
From: grant beattie <grant@netbsd.org>
List: pkgsrc-changes
Date: 02/02/2004 01:36:14
Module Name:	pkgsrc
Committed By:	grant
Date:		Mon Feb  2 01:36:14 UTC 2004

Modified Files:
	pkgsrc/mk/buildlink3: sunpro-cc-post-logic

Log Message:
transform -f{pic,PIC} -> -Kpic and -shared -> -G to fix building of
packages which pass these gcc-specific flags.

also ignore -Werror; if a package passes -Werror, it's expecting that
the compiler is gcc, which in this case it is not. SunPro often emits
warnings on code which gcc doesn't, so transforming this flag to
-errwarn is counterproductive.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/buildlink3/sunpro-cc-post-logic

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