Jeff Fulmer <[EMAIL PROTECTED]> writes:

> On Thu, Mar 04, 2004 at 05:20:34PM +0100, Jose Roman Bilbao wrote:
>> Hi all,
>> 
>> I have noticed that, by default, the C compiler is using flag -g. What
>> should I indicate in configure.ac to avoid this issue?.
>> 
>> Thanks
>> 
>
> You could always rewrite the CFLAGS.
>
> if test -n "$GCC"; then
>   CFLAGS="-02" 
> fi
> AC_SUBST(CFLAGS)

Which will override any value given by the caller, which is bad.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux AG, Maxfeldstra�e 5, 90409 N�rnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to