> "JLT" == Jason L Tibbitts writes:
JLT> Does that actually work on EL6?
Looking at the spec, it seems obvious that it works on EL6. The package
isn't branched for EL5 but if anyone knows if -Wl,-z,relro will work
there than I'll add it there as well (once I get around to doing an EL5
packa
So you're just asking for __global_ldflags to be defined? In EL7 it's:
%__global_ldflags -Wl,-z,relro %{_hardened_ldflags}
Obviously there's no %_hardened_ldflags in EL6, so it would just be
defining that macro to -Wl,-z,relro. Does that actually work on EL6?
I'm not really that familiar with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 12/25/2015 08:32 PM, Jason L Tibbitts III wrote:
>> "AT" == Antonio Trande writes:
>
> AT> %{__global_ldflags} is another macro that it's not available
> in AT> EPEL6.
>
> It appears that gets exported as a shell variable in the scope of
>
> "AT" == Antonio Trande writes:
AT> %{__global_ldflags} is another macro that it's not available in
AT> EPEL6.
It appears that gets exported as a shell variable in the scope of %build
by %__build_pre, as well as being mentioned in the %cmake, %cmake_kde4,
%qmake_qt4 and %configure macros.