On Mon, Jun 9, 2014 at 11:23 PM, Mattia Rizzolo wrote:

> This is not the case: the others flage (i.e. -Wl,-z,relro) are passed
> to the liker.
> Looks like -fPIE and -pie are not passed:
>
> % dpkg-buildflags --get LDFLAGS
> -Wl,-z,relro
>
> I'm now wondering why bls complains...

Aha, you want this in debian/rules to get the extra flags:

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

BTW: you can run blhc locally to check build logs for hardening flags.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAKTje6EyETaHrX+fFokdw34jY04gF=nr3laf7qauksstrof...@mail.gmail.com

Reply via email to