Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 1997 12:41:34 -0800 (PST)
From:      Stranger Bone <ben@narcissus.ml.org>
To:        Jaye Mathisen <mrcpu@cdsnet.net>
Cc:        hackers@freebsd.org
Subject:   Re: How to build the whole tree -static?
Message-ID:  <Pine.BSF.3.91.970203123927.6759C-100000@narcissus.ml.org>
In-Reply-To: <Pine.NEB.3.95.970203114938.13493E-100000@mail.cdsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Feb 1997, Jaye Mathisen wrote:

> 
> 
> I have space to burn on 1 box.  Is there an easy way to tweak the build
> process to make it compile the whole darn thing non-shared?
> 

Ha!  I only found the answer to this last night.

You need to edit /usr/share/mk/sys.mk.  There's a line that reads

CFLAGS          ?=      -O

Change it to 

CFLAGS          ?=      -O -static


 Ben

The views expressed above are not those of the Worker's Compensation 
Board of Queensland, Australia.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970203123927.6759C-100000>