Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2013 11:46:13 +0100
From:      Erik Cederstrand <erik@cederstrand.dk>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        "toolchain@freebsd.org" <toolchain@freebsd.org>
Subject:   Re: [patch] DEBUG_FLAGS cleanup
Message-ID:  <13E7EB8C-6815-4969-A3B2-F02A2BC28D5B@cederstrand.dk>
In-Reply-To: <20130123100558.GV2522@kib.kiev.ua>
References:  <0CBACA33-7420-4045-AD0C-852983CD64CF@cederstrand.dk> <20130123100558.GV2522@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Den 23/01/2013 kl. 11.05 skrev Konstantin Belousov =
<kostikbel@gmail.com>:

> On Wed, Jan 23, 2013 at 09:23:41AM +0100, Erik Cederstrand wrote:
>> [...]
>>=20
>> -CFLAGS+=3D	-g
>> +CFLAGS+=3D	$(DEBUG_FLAGS)
>> CFLAGS+=3D	-DGENERATOR_FILE -DHAVE_CONFIG_H
>>=20
>> # Override LIBIBERTY set by Makefile.inc, We use our own for
>=20
> This fragment catched my eye, and it is typical for the patch.
> Why do you  need to add DEBUG_FLAGS to the CFLAGS manually ?
> Wouldn't share/mk magic do this automatically ?

Quite possibly. My only reason for this approach was to change as little =
as possible. I'll test if I can just remove the line entirely.

Thanks,
Erik=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13E7EB8C-6815-4969-A3B2-F02A2BC28D5B>