[SCM] KOffice packaging branch, koffice2.3, updated. debian/2.3.0-1-10-ge855e7e

Raúl Sánchez Siles kebianizao-guest at alioth.debian.org
Sat Jan 8 00:18:59 UTC 2011


The following commit has been merged in the koffice2.3 branch:
commit 01f0180a6afc8535f94b2f7e644c19c9d22f3fee
Author: Raúl Sánchez Siles <rasasi78 at gmail.com>
Date:   Sat Dec 11 00:22:26 2010 +0100

    Enable linker flags: --as-needed --no-undefined
    
    --HG--
    extra : rebase_source : 7add0dd72f92bb99d25fc99e1ec3a48a2f65a4c9
---
 debian/rules |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 3ec621a..74e6dc2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,10 @@ DH_ALWAYS_EXCLUDE:=CVS:.svn:.svnignore:.hg:.hgignore:.git
 
 #Do not build staging dir
 override_dh_auto_configure:
-	dh_auto_configure -Skde -- -DBUILD_staging=FALSE
+	dh_auto_configure -Skde -- -DBUILD_staging=FALSE \
+		-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined" \
+		-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined" \
+		-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined"
 
 override_dh_install:
 	dh_install --parallel --list-missing

-- 
KOffice packaging



More information about the pkg-kde-commits mailing list