Hardened builds

Rex Dieter rdieter at math.unl.edu
Thu Feb 26 18:00:23 UTC 2015


Jerry James wrote:

> On Wed, Feb 25, 2015 at 9:53 AM, Rex Dieter <rdieter at math.unl.edu> wrote:
>> Mamoru TASAKA wrote:
>>> Does
>>> %undefine _hardened_build
>>> help?
>>
>> that version works for me
> 
> Hmmm, am I doing something wrong?  I've tried both:
> 
> %undefine _hardened_build
> 
> and:
> 
> %undefine _hardened_build
> %global _hardened_build 0
> 
> at the top of the spec file, and in both cases, I still see the
> hardened specs in CFLAGS and LDFLAGS when %configure is invoked.  I've
> got the right spec file inside the mock root.....  I don't understand
> why this worked for you and isn't working for me.

which package is this again?  I can try experimenting a bit.

The one that worked for me was lightdm, fwiw.

-- Rex



More information about the devel mailing list