[Pkg-xfce-commits] r4262 - desktop/branches/experimental/xfwm4/debian

Yves-Alexis Perez corsac at alioth.debian.org
Sun Sep 5 02:08:49 UTC 2010


Author: corsac
Date: 2010-09-05 14:08:42 +0000 (Sun, 05 Sep 2010)
New Revision: 4262

Modified:
   desktop/branches/experimental/xfwm4/debian/changelog
   desktop/branches/experimental/xfwm4/debian/rules
Log:
* debian/rules:
  - pick {C,LD}FLAGS from dpkg-buildflags.

Modified: desktop/branches/experimental/xfwm4/debian/changelog
===================================================================
--- desktop/branches/experimental/xfwm4/debian/changelog	2010-09-05 14:01:22 UTC (rev 4261)
+++ desktop/branches/experimental/xfwm4/debian/changelog	2010-09-05 14:08:42 UTC (rev 4262)
@@ -4,8 +4,10 @@
   * debian/control:
     - update standards version to 3.9.1.
     - refresh build-deps for Xfce 4.7.
+  * debian/rules:
+    - pick {C,LD}FLAGS from dpkg-buildflags.
 
- -- Yves-Alexis Perez <corsac at debian.org>  Sun, 05 Sep 2010 15:40:13 +0200
+ -- Yves-Alexis Perez <corsac at debian.org>  Sun, 05 Sep 2010 16:08:18 +0200
 
 xfwm4 (4.6.2-1) unstable; urgency=low
 

Modified: desktop/branches/experimental/xfwm4/debian/rules
===================================================================
--- desktop/branches/experimental/xfwm4/debian/rules	2010-09-05 14:01:22 UTC (rev 4261)
+++ desktop/branches/experimental/xfwm4/debian/rules	2010-09-05 14:08:42 UTC (rev 4262)
@@ -1,11 +1,8 @@
 #!/usr/bin/make -f
 
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
 LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-compositor --libexecdir=\$${prefix}/lib




More information about the Pkg-xfce-commits mailing list