From f46ed6919f4bec953cfb30ceb31da8925e10ba0d Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Sat, 14 Nov 2009 17:25:23 +0000 Subject: [PATCH] Fix execstack only for x86_64 binaries --- xorg-x11-drv-nvidia.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index b6f294c..1dafbba 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -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