fix noexecstack flag

This commit is contained in:
Tom Callaway 2010-05-21 20:22:40 +00:00
parent 96de2eb421
commit 07479af4d8

View File

@ -1,7 +1,7 @@
Name: libvpx
Summary: VP8 Video Codec SDK
Version: 0.9.0
Release: 4%{?dist}
Release: 5%{?dist}
License: BSD
Group: System Environment/Libraries
Source0: http://webm.googlecode.com/files/%{name}-%{version}.tar.bz2
@ -68,7 +68,7 @@ mkdir tmp
cd tmp
ar x ../libvpx_g.a
cd ..
gcc -fPIC -shared -pthread -lm -Wl,--no-undefined -Wl,-soname,libvpx.so.0 -Wl,--version-script,%{SOURCE2} -z noexecstack -o libvpx.so.0.0.0 tmp/*.o
gcc -fPIC -shared -pthread -lm -Wl,--no-undefined -Wl,-soname,libvpx.so.0 -Wl,--version-script,%{SOURCE2} -Wl,-z,noexecstack -o libvpx.so.0.0.0 tmp/*.o
rm -rf tmp
# Temporarily dance the static libs out of the way
@ -143,6 +143,9 @@ rm -rf %{buildroot}
%{_bindir}/*
%changelog
* Fri May 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.0-5
- fix noexecstack flag
* Thu May 20 2010 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.0-4
- BuildRequires: yasm (we're optimized again)