[Pkg-xfce-commits] r7708 - goodies/trunk/xfswitch-plugin/debian

Yves-Alexis Perez corsac at alioth.debian.org
Sun May 26 12:23:20 UTC 2013


Author: corsac
Date: 2013-05-26 12:23:20 +0000 (Sun, 26 May 2013)
New Revision: 7708

Modified:
   goodies/trunk/xfswitch-plugin/debian/changelog
   goodies/trunk/xfswitch-plugin/debian/rules
Log:
* debian/rules:
  - switch to dh tiny rules.
  - enable all hardening flags.
  - enable parallel build.

Modified: goodies/trunk/xfswitch-plugin/debian/changelog
===================================================================
--- goodies/trunk/xfswitch-plugin/debian/changelog	2013-05-26 12:21:07 UTC (rev 7707)
+++ goodies/trunk/xfswitch-plugin/debian/changelog	2013-05-26 12:23:20 UTC (rev 7708)
@@ -1,3 +1,12 @@
+xfswitch-plugin (0.0.1-4) UNRELEASED; urgency=low
+
+  * debian/rules:
+    - switch to dh tiny rules.
+    - enable all hardening flags.
+    - enable parallel build.
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Sun, 26 May 2013 14:22:56 +0200
+
 xfswitch-plugin (0.0.1-3) unstable; urgency=low
 
   [ Yves-Alexis Perez ]

Modified: goodies/trunk/xfswitch-plugin/debian/rules
===================================================================
--- goodies/trunk/xfswitch-plugin/debian/rules	2013-05-26 12:21:07 UTC (rev 7707)
+++ goodies/trunk/xfswitch-plugin/debian/rules	2013-05-26 12:23:20 UTC (rev 7708)
@@ -1,13 +1,6 @@
 #!/usr/bin/make -f
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-include /usr/share/hardening-includes/hardening.make
-
-LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
-CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS+=$(HARDENING_LDFLAGS) -Wl,-z,defs -Wl,--as-needed -Wl,-O1
-CFLAGS+=$(HARDENING_CFLAGS)
-
-export CFLAGS LDFLAGS
-
 %:
-	dh $@
+	dh $@ --parallel




More information about the Pkg-xfce-commits mailing list