[SCM] smokekde packaging branch, master, updated. cf5a4b9413e26bce7599f2ba498641d4e8a3e683
Pino Toscano
pino at alioth.debian.org
Tue Aug 16 20:45:51 UTC 2011
The following commit has been merged in the master branch:
commit cf5a4b9413e26bce7599f2ba498641d4e8a3e683
Author: Pino Toscano <pino at debian.org>
Date: Tue Aug 16 22:09:33 2011 +0200
link in --as-needed mode
---
debian/changelog | 1 +
debian/rules | 6 ++++++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2c3af6e..f4ffa06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ smokekde (4:4.7.0-0r1) UNRELEASED; urgency=low
* Backport upstream patches:
- fix-kutils-linking.patch: fix the link of smokekutils
- fix-knewstuff2-binding.patch: fix the generation of smokeknewstuff2
+ * Link in --as-needed mode.
[ Modestas Vainius ]
* Remove myself from Uploaders.
diff --git a/debian/rules b/debian/rules
index 136486d..a9f1228 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,11 @@
#!/usr/bin/make -f
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed" \
+ -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed" \
+ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
+
override_dh_install:
dh_install --list-missing
--
smokekde packaging
More information about the pkg-kde-commits
mailing list