Bug#657523: Please enabled hardened build flags

Alasdair G Kergon agk at redhat.com
Sun May 27 10:56:24 UTC 2012


On Sun, May 27, 2012 at 02:42:14AM +0200, Simon Ruderich wrote:
> -		CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
> +		CLDFLAGS="$LDFLAGS $CLDFLAGS -Wl,--version-script,.export.sym"

What are typical contents of the LDFLAGS environment variable in Debian?
- Which cmdline parameters are getting lost?
- Which lines are 'losing' the enviroment LDFLAGS but actually need it?

(There was some problem that led to needing to split LDFLAGS like that, would
have to go back and find the details.)

> +AC_SUBST(LDFLAGS)

Existing inconsistency/bug?
 - make.tmpl.in has LDFLAGS += @LDFLAGS@

Alasdair






More information about the pkg-lvm-maintainers mailing list