Re: -O vs -O2, revisited

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 9 May 2001 14:47:03 +0800

On Tue, May 08, 2001, Henrik Nordstrom wrote:
> Adrian Chadd wrote:
>
> > You can do something to configure to change its idea of CFLAGS,
> > but I'd like it to default to -O rather than -O2. People can
> > bump it up to -O2 if they'd like.
>
> Actually it is autoconf that defaults to -O2, and people are allowed to
> bump it down if they like.. Changing autoconf's idea of compiler flags
> is done by setting CFLAGS when you run configure.
>
> env CFLAGS="-g -O" ./configure ...
>
> What Squid have is rules to in configure.in to forcibly bump it down on
> known broken configurations such as.
>
> * Solaris X86
> * GCC 2.95.[12]
> * Motorola 88k
>
> Now it seems we need to extend that list somewhat with
> GCC 2.95.3
> GCC 2.96

Right. Do you want to do the magic?
I still am not really sure of configure.in magic.

Adrian

-- 
Adrian Chadd			"How could we possibly use sex to get
<adrian@creative.net.au>	  what we want?
			 	   Sex _IS_ what we want!" -- Fraser
Received on Wed May 09 2001 - 00:52:31 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:00 MST