r11042 - packages/trunk/teeworlds/debian

Felix Geyer debfx-guest at alioth.debian.org
Mon Jun 21 16:57:14 UTC 2010


Author: debfx-guest
Date: 2010-06-21 16:57:10 +0000 (Mon, 21 Jun 2010)
New Revision: 11042

Modified:
   packages/trunk/teeworlds/debian/changelog
   packages/trunk/teeworlds/debian/rules
Log:
Add -Wl,--as-needed to LDFLAGS.


Modified: packages/trunk/teeworlds/debian/changelog
===================================================================
--- packages/trunk/teeworlds/debian/changelog	2010-06-21 16:08:42 UTC (rev 11041)
+++ packages/trunk/teeworlds/debian/changelog	2010-06-21 16:57:10 UTC (rev 11042)
@@ -2,8 +2,9 @@
 
   * Only fix permissions of data files when arch-all packages are built.
     (Closes: #586534)
+  * Add -Wl,--as-needed to LDFLAGS.
 
- -- Felix Geyer <debfx-pkg at fobos.de>  Mon, 21 Jun 2010 17:15:04 +0200
+ -- Felix Geyer <debfx-pkg at fobos.de>  Mon, 21 Jun 2010 18:50:29 +0200
 
 teeworlds (0.5.2-1) unstable; urgency=low
 

Modified: packages/trunk/teeworlds/debian/rules
===================================================================
--- packages/trunk/teeworlds/debian/rules	2010-06-21 16:08:42 UTC (rev 11041)
+++ packages/trunk/teeworlds/debian/rules	2010-06-21 16:57:10 UTC (rev 11042)
@@ -1,13 +1,15 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+LDFLAGS += -Wl,--as-needed
+
 %:
 	dh $@
 
 override_dh_auto_build:
 	echo "release_settings.cc.optimize = 0" >> debian.bam
 	echo "release_settings.cc.flags:Add(\"$(CFLAGS)\")" >> debian.bam
-	echo "release_settings.link.flags:Add(\"$(LDFLAGS)\")" >> debian.bam
+	echo "release_settings.link.inputflags = release_settings.link.inputflags .. \" $(LDFLAGS)\"" >> debian.bam
 	bam -v release
 
 override_dh_auto_install:




More information about the Pkg-games-commits mailing list