Hi,
It seems the best (only?) way to override LDFLAGS with debhelper 7 is
a LDFLAGS export at the top of debian/rules file.
However, there's some packages using another method:
override_dh_auto_configure:
dh_auto_configure -- LDFLAGS="$(LDFLAGS) -Wl,--as-needed"
NOTE: this method doesn't work !
Should we track this packaging error and fill bug against them ?
Cheers,
Fathi