cvs commit: src/gnu/usr.bin/cc/cc_tools Makefile

Bruce Evans bde at zeta.org.au
Thu Feb 26 05:00:03 PST 2004


On Thu, 26 Feb 2004, Ruslan Ermilov wrote:

> On Wed, Feb 25, 2004 at 11:08:34PM -0800, Bruce Evans wrote:
> > bde         2004/02/25 23:08:34 PST
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     gnu/usr.bin/cc/cc_tools Makefile
> >   Log:
> >   Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).
> >   Makeworld will add -static in the correct place if needed and possible.
> >   Self-hosted builds can just use the system default.
> > ...

> What I hear, Bruce removing static bits?  Has somebody abused your commit
> bit?  ;-)

I objected to these static bits before they were committed (see the logs)
and never used them.  Hard-coding static libraries is just as bad as
hard-coding shared libraries.  Of course, I configure for non-hard-coded
static libraries.  NOSHARED=yes in /etc/make.conf gives this for most
build-tools (not ones in library directories, since bsd.lib.mk doesn't
conert NOSHARED=yet to LDFLAGS+=-static).

Bruce


More information about the cvs-all mailing list