Author: bdefreese
Date: 2013-06-21 22:20:59 +0000 (Fri, 21 Jun 2013)
New Revision: 14295

Modified:
   packages/trunk/gnomekiss/debian/changelog
   packages/trunk/gnomekiss/debian/rules
Log:
Add --as-needed through rules

Modified: packages/trunk/gnomekiss/debian/changelog
===================================================================
--- packages/trunk/gnomekiss/debian/changelog   2013-06-21 21:41:03 UTC (rev 
14294)
+++ packages/trunk/gnomekiss/debian/changelog   2013-06-21 22:20:59 UTC (rev 
14295)
@@ -8,6 +8,7 @@
   * Move to dh style rules.
     + Bump debhelper build-dep and compat to 9.
   * Add ${misc:Depends}.
+  * Append --as-needed.
   * Update watch file.
   * Bump Standards Version to 3.9.4.
 

Modified: packages/trunk/gnomekiss/debian/rules
===================================================================
--- packages/trunk/gnomekiss/debian/rules       2013-06-21 21:41:03 UTC (rev 
14294)
+++ packages/trunk/gnomekiss/debian/rules       2013-06-21 22:20:59 UTC (rev 
14295)
@@ -3,12 +3,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
+        export DEB_CFLAGS_MAINT_APPEND = -O0
 else
-       CFLAGS += -O2
+        export DEB_CFLAGS_MAINT_APPEND = -O2
 endif
 
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 %:
        dh $@ --with autoreconf


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to