[Pkg-octave-commit] [SCM] octave-pkg-dev branch, master, updated. c93c63e13b6d75feabd5e11329474f5e06439625
Thomas Weber
thomas.weber.mail at gmail.com
Mon Mar 22 21:42:03 UTC 2010
The following commit has been merged in the master branch:
commit 45b89b366a527e4297f2df042410e02d826194ee
Author: Thomas Weber <thomas.weber.mail at gmail.com>
Date: Mon Mar 22 22:03:46 2010 +0100
Use --as-needed when building packages
This decreases the amount of linked libraries dramatically, making
transitions less painful. This is untested upstream, so let's use Debian
as guinea pig.
diff --git a/debian/changelog b/debian/changelog
index f0139a1..ec6e616 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
octave-pkg-dev (0.7.3) UNRELEASED; urgency=low
* debian/control: Remove Rafael Laboissiere from Uploaders (Closes: #571901)
+ * Use --as-needed for linking, reducing the number of really linked
+ libraries dramatically.
-- Thomas Weber <thomas.weber.mail at gmail.com> Sun, 28 Feb 2010 22:50:25 +0100
diff --git a/octave-pkg.mk.in b/octave-pkg.mk.in
index b9e3229..d269194 100644
--- a/octave-pkg.mk.in
+++ b/octave-pkg.mk.in
@@ -37,6 +37,7 @@ octave_options = --no-history --silent --no-init-file
global_list = global-list
local_list = local-list
+export LDFLAGS=-Wl,--as-needed
export OCTAVE_HISTFILE=/dev/null
# even with '--no-history', Octave creates an empty .octave_hist at startup,
# resulting in 'permission denied errors on the buildds
--
octave-pkg-dev
More information about the Pkg-octave-commit
mailing list