[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6538: Removal of C_DEBUG_SWITCH changes CFLAGS
From: |
Dan Nicolaescu |
Subject: |
bug#6538: Removal of C_DEBUG_SWITCH changes CFLAGS |
Date: |
Wed, 30 Jun 2010 03:27:51 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes:
> Dan Nicolaescu wrote:
>
>> C_DEBUG_SWITCH was just -g -O for all platforms that bothered to set it.
>
> What about irix6-5: "-g3 -O -OPT:Olimit=3500".
IMO it's not worth the complication.
>> We get that anyway for non-GCC compilers.
>
> I noticed that AC_PROG_CC tests for -g, and adds it to CFLAGS if
> supported. It also adds -O2 when using gcc. Perhaps this could be used
> to further simplify configure.in...