You need to pass your own CFLAGS settings to configure. See configure --help.
Regards Henrik On Wednesday 26 February 2003 03.29, Steve Snyder wrote: > I take it then that there is no config option or similar for > building Squid statically? > > ---------- Forwarded Message ---------- > Subject: How to build with static linking? > Date: Sat, 22 Feb 2003 12:35:40 -0500 > From: Steve Snyder <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > > Is there a clean way to tell the Squid v2.5S1 build process (on a > Linux system) that I want to link the binaries staticly? If so, > how is it done? > > Doing a "./configure --help" didn't tell me anything, and it seems > that setting a "LDFLAGS=-static" environment variable doesn't work > either. I know I can hack the makefile(s) to get static linking, > but there must be a better way. > > I'm building Squid on a machine other than the one I will run it > on. As the 2 machines have different versions of GCC and GLIBC I > want to make sure that all the resources needed by Squid are linked > into the binaries. > > Advice, please? Thanks. > > -------------------------------------------------------
