[SCM] Gnuplot. Interactive plotting program branch, master, updated. debian/4.4.0-1.1-14-g0dc855f

Anton Gladky gladky.anton at gmail.com
Tue Mar 20 21:54:12 UTC 2012


The following commit has been merged in the master branch:
commit 0dc855f4c0e9c49d180828abe68d67c27c4fa0c2
Author: Agustin Martin Domingo <agmartin at debian.org>
Date:   Tue Mar 20 19:58:14 2012 +0100

    Pass --as-needed to linker. Avoids linking unneeded libs.

diff --git a/debian/rules b/debian/rules
index 8d2910a..00726fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,10 @@ export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 export CFLAGS := -Wall $(shell dpkg-buildflags --get CFLAGS)
 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
 
+# Build structure may link against unneeded libs.
+# Make sure this does not happen.
+LDFLAGS            += -Wl,--as-needed
+
 # Tell compiler where should find lua headers
 CFLAGS += -I/usr/include/lua5.1
 

-- 
Gnuplot. Interactive plotting program



More information about the debian-science-commits mailing list