Disable as-needed linker flag

This commit is contained in:
sagitter 2019-02-05 12:49:15 +01:00
parent b7581a3f3c
commit e01be20279

View File

@ -1,3 +1,5 @@
%undefine _ld_as_needed
%if 0%{?rhel} && 0%{?rhel} < 7
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
%endif
@ -221,6 +223,7 @@ popd
%{_bindir}/graphchk
%{_bindir}/m2gmetis
%{_bindir}/mpmetis
%{_bindir}/ndmetis
%{_mandir}/man1/*.1.gz
%{_libdir}/lib%{name}.so.*