Subject: CVS commit: src/share/mk
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 06/27/2003 17:27:12
Module Name:	src
Committed By:	drochner
Date:		Fri Jun 27 17:27:12 UTC 2003

Modified Files:
	src/share/mk: bsd.lib.mk

Log Message:
Use ${CC} instead of ${LD} to build shared objects.
(g)cc has all the knowledge which startfiles/libgcc to
use, so we don't need to duplicate all that here.

Externally visible change:
Shared objects are linked against libgcc_pic.a now
(if the in-tree gcc2 is used). This fixes problems with
dlopen()'ed objects referencing libgcc functions not used
(thus not linked in) by the main program.


To generate a diff of this commit:
cvs rdiff -r1.220 -r1.221 src/share/mk/bsd.lib.mk

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