[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid C compiler using -g
From: |
Andreas Schwab |
Subject: |
Re: How to avoid C compiler using -g |
Date: |
Thu, 11 Mar 2004 17:00:24 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
Jeff Fulmer <address@hidden> 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, address@hidden
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."