Re: CFLAGS / debug
On Tue, Dec 9, 2008 at 8:58 PM, David Paleino <d.paleino@gmail.com> wrote:
> On Tue, 9 Dec 2008 16:34:07 +0100, Mathieu Malaterre wrote:
>
>> Hi steve,
>
> I'm not Steve, but, well...
>
>> Do you think this is a valid change to apply to gdcm debian package:
>
> No:
>
>> $ svn di
>> Index: rules
>> ===================================================================
>> --- rules (revision 4863)
>> +++ rules (working copy)
>> @@ -21,7 +21,10 @@
>> DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
>> DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
>>
>> -CFLAGS = -g
>> +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
>
> I believe the right value in DEB_BUILD_OPTIONS is "nostrip".
Where is it documented that strip (removing of symbols via strip)
should be binded to the -g of gcc ? You should be able to strip a
release build (gcc -03 ... ), right ?
--
Mathieu
Reply to: