Fix execstack only for x86_64 binaries

el9
Nicolas Chauvet 15 years ago
parent 5add61abc5
commit f46ed6919f

@ -246,9 +246,11 @@ find $RPM_BUILD_ROOT/%{nvidialibdir} -type f -name "*.a" -exec chmod 0644 '{}' \
find $RPM_BUILD_ROOT%{nvidialibdir} -name '*.so.*' -type f -exec execstack -c {} ';'
execstack -c $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libglx.so.%{version}
execstack -c $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
%ifarch x86_64
execstack -c $RPM_BUILD_ROOT%{_bindir}/nvidia-{settings,smi}
execstack -c $RPM_BUILD_ROOT%{_sbindir}/nvidia-xconfig
%endif
%endif

Loading…
Cancel
Save