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?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to