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

CFLAGS / debug



Hi steve,

  Do you think this is a valid change to apply to gdcm debian package:

$ 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)))
+  CFLAGS = -g
+endif
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
 else

thanks,
-- 
Mathieu


Reply to: