[Pkg-electronics-commits] [SCM] Packaging for Pcb branch, master, updated. ea1a48f29881daef9655dbd9130758d6b6b10e19

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at users.sourceforge.net
Fri Nov 13 15:38:11 UTC 2009


The following commit has been merged in the master branch:
commit ea1a48f29881daef9655dbd9130758d6b6b10e19
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date:   Fri Nov 13 17:37:47 2009 +0200

    debian/rules: Add -Wl,--as-needed to LDFLAGS.

diff --git a/debian/changelog b/debian/changelog
index 3dad3db..0e8adbe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ pcb (20091103-1) unstable; urgency=low
     + Install DVI version of refcard since the PDF version is messed up.
     + Add --enable-dependency-tracking option to CONFIGURE_OPTS to make
       out-of-source building work.
+    + Add -Wl,--as-needed to LDFLAGS.
   * Added pcb-common.docs, pcb-gtk.links, pcb-lesstif.links,
     debian/pcb-common.examples, debian/pcb-common.install,
     debian/README.source, debian/source.lintian-overrides,
diff --git a/debian/rules b/debian/rules
index b672e54..c72ba36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 package = pcb
 
-CONFIGURE_OPTS=--disable-rpath --enable-dbus --disable-update-desktop-database --disable-update-mime-database --enable-dependency-tracking
+CONFIGURE_OPTS=--disable-rpath --enable-dbus --disable-update-desktop-database --disable-update-mime-database --enable-dependency-tracking LDFLAGS="$(LDFLAGS) -Wl,--as-needed"
 
 %:
 	dh $@

-- 
Packaging for Pcb



More information about the Pkg-electronics-commits mailing list