On 20/12/2007, Cyril Brulebois wrote: > I'd be glad if someone could check and possibly upload the following > source package for me: > > http://alioth.debian.org/~kibi-guest/k3dsurf/k3dsurf_0.6.2-2.dsc Still the same location, with the attached additional commit, which takes care of extra linking. Cheers, -- Cyril Brulebois
commit c674b4d21d2a0116a8beb3b67f7dc3f79b93e8c8 Author: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> Date: Wed Dec 26 16:23:11 2007 +0100 Avoid extra linking using -Wl,--as-needed diff --git a/debian/changelog b/debian/changelog index 85c6ce5..fd39696 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,8 +8,12 @@ k3dsurf (0.6.2-2) unstable; urgency=low - Add debian/patches/10_gcc4.3_includes * Drop trailing spaces in debian/rules at the same time. * Bump Standards-Version from 3.7.2 to 3.7.3 (no change needed). + * Pass “LFLAGS="-Wl,-z,defs -Wl,--as-needed"” to the “$(MAKE)” call: + - The latter avoids extra linking. + - The former ensures there's no undefined reference in the temporary + objects, although there is none at the moment. - -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> Thu, 20 Dec 2007 02:49:18 +0100 + -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> Wed, 26 Dec 2007 16:22:49 +0100 k3dsurf (0.6.2-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index ddeb5ce..ee94280 100755 --- a/debian/rules +++ b/debian/rules @@ -23,7 +23,7 @@ build: build-stamp debian/k3dsurf.xpm build-stamp: configure-stamp dh_testdir - $(MAKE) + $(MAKE) LFLAGS="-Wl,-z,defs -Wl,--as-needed" touch build-stamp clean: clean-patched unpatch
Attachment:
pgp6d14gpO8AV.pgp
Description: PGP signature