[PATCH] Makefile: improve dependency generation

Jamie Couture jamie.couture at gmail.com
Thu Nov 15 04:40:52 CET 2012


rpmbuild will strip (debugging) symbols.  I'm not sure about deb packaging;
I'm also not sure about *bsd.  Regardless, I'll remove the append
condition, +=

CFLAGS = [default options]

Come to think of it, I'll need to move the FreeBSD uname stuff after cflags
definition anyway, and change it from conditional to append



On Wed, Nov 14, 2012 at 7:57 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:

> On Thu, Nov 15, 2012 at 1:46 AM, Jamie Couture <jamie.couture at gmail.com>
> wrote:
> > +CFLAGS += -g -Wall -Igit
>
> The -g should only be added with a ?=, or something conditional on the
> environment, so that distros don't have to patch it up to get a
> release build.
>



More information about the CGit mailing list