automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AM_CFLAGS no longer in the manual


From: Diego Elio Pettenò
Subject: Re: AM_CFLAGS no longer in the manual
Date: Mon, 10 Dec 2012 01:14:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 09/12/2012 23:06, Jeffrey Walton wrote:
> Seems reasonable (otherwise a stack trace is useless). Also, it does
> not affect performance. Confer: "How does the gcc -g option affect
> performance?" http://gcc.gnu.org/ml/gcc-help/2005-03/msg00032.html.

Correct. But in Gentoo I had to end up writing an explicit guide about
it as people (both upstream developers and users) tend to mix up the two
things: http://www.gentoo.org/proj/en/qa/backtraces.xml

Unfortunately there are a number of packages that do something like
(pseudo-autoconf — I know it's broken)

AC_ARG_ENABLE([debug], , [CFLAGS="-O0 -g3 -DDEBUG"], [CFLAGS="-O2 -g0
-DNDEBUG"])

which is a pain for us to manage (and we usually end up removing and
just handling the debug handling on our side.

-- 
Diego Elio Pettenò — Flameeyes
address@hidden — http://blog.flameeyes.eu/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]