[Python-modules-commits] r20638 - in packages/gamera/trunk/debian (changelog rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Fri Mar 2 00:14:20 UTC 2012


    Date: Friday, March 2, 2012 @ 00:14:18
  Author: jwilk
Revision: 20638

Build -dbg extension modules without optimization.

Modified:
  packages/gamera/trunk/debian/changelog
  packages/gamera/trunk/debian/rules

Modified: packages/gamera/trunk/debian/changelog
===================================================================
--- packages/gamera/trunk/debian/changelog	2012-03-01 22:43:58 UTC (rev 20637)
+++ packages/gamera/trunk/debian/changelog	2012-03-02 00:14:18 UTC (rev 20638)
@@ -2,8 +2,9 @@
 
   * Fix DEP-5 format URI.
   * Update patch headers.
+  * Build -dbg extension modules without optimization.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 22 Jan 2012 02:33:03 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Fri, 02 Mar 2012 01:13:27 +0100
 
 gamera (3.3.2-2) unstable; urgency=low
 

Modified: packages/gamera/trunk/debian/rules
===================================================================
--- packages/gamera/trunk/debian/rules	2012-03-01 22:43:58 UTC (rev 20637)
+++ packages/gamera/trunk/debian/rules	2012-03-02 00:14:18 UTC (rev 20638)
@@ -3,6 +3,7 @@
 export PYTHONWARNINGS=d
 
 export CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
+export CFLAGS_noopt = $(patsubst -O%,-O0,$(CFLAGS))
 export CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
 export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
 
@@ -54,7 +55,11 @@
 	python$(*) setup.py build
 	touch $(@)
 
+build/stamp-python%-dbg:
+	CFLAGS="$$CFLAGS_noopt" python$(*)-dbg setup.py build
+	touch $(@)
 
+
 # binary and binary-* targets
 # ===========================
 




More information about the Python-modules-commits mailing list