[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: missing LDFLAGS



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


Reply to: