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

Re: CFLAGS / debug



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".

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: