[Pkg-utopia-maintainers] Bug#662204: Debian Avahi debhelper 9 LDFLAGS

Michael Biebl biebl at debian.org
Sun Mar 4 17:11:00 UTC 2012


Package: src:avahi

On 04.03.2012 15:54, Simon Ruderich wrote:
> Hello,
> 
> I just wanted to let you know that the preferred way to set
> additional LDFLAGS with dh 9 is DEB_LDFLAGS_MAINT_APPEND (man
> dpkg-buildflags for more information). The following patch
> updates debian/rules with this change.
> 
> diff -Nru avahi-0.6.31/debian/rules avahi-0.6.31/debian/rules
> --- avahi-0.6.31/debian/rules	2012-03-04 05:24:07.000000000 +0100
> +++ avahi-0.6.31/debian/rules	2012-03-04 15:43:59.000000000 +0100
> @@ -11,7 +11,7 @@
> 
>  # Ensure at build time that the library has no dependencies on undefined
>  # symbols, and speed up loading.
> -export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1
> +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1
> 
>  override_dh_auto_configure:
>  	dh_auto_configure -- $(CONFFLAGS) \
> 
> I checked the build, it works fine. It's just a minor change -
> maybe next time you upload the package you could update it.
> 
> To make spotting missing (hardening) flags easier you might want
> to add the following to debian/rules to create a verbose build:
> 
>     # Verbose build
>     export V=1

Turning this into a bug report

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20120304/f6743295/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list