Hardened builds

Jerry James loganjerry at gmail.com
Wed Feb 25 18:47:26 UTC 2015

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


%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.
Jerry James

More information about the devel mailing list