Support running with Intel CET
This commit is contained in:
parent
987ee207b4
commit
b04bfd42ca
1250
libjpeg-turbo-CET.patch
Normal file
1250
libjpeg-turbo-CET.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,13 @@
|
|||||||
Name: libjpeg-turbo
|
Name: libjpeg-turbo
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
|
Summary: A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
|
||||||
License: IJG
|
License: IJG
|
||||||
URL: http://sourceforge.net/projects/libjpeg-turbo
|
URL: http://sourceforge.net/projects/libjpeg-turbo
|
||||||
|
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
Patch0: libjpeg-turbo-cmake.patch
|
Patch0: libjpeg-turbo-cmake.patch
|
||||||
|
Patch1: libjpeg-turbo-CET.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -69,8 +70,15 @@ manipulate JPEG files using the TurboJPEG library.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# NASM object files are missing GNU Property note for Intel CET,
|
||||||
|
# force it on the resulting library
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
|
export LDFLAGS="$LDFLAGS -Wl,-z,ibt -Wl,-z,shstk"
|
||||||
|
%endif
|
||||||
|
|
||||||
%{cmake} -DCMAKE_SKIP_RPATH:BOOL=YES \
|
%{cmake} -DCMAKE_SKIP_RPATH:BOOL=YES \
|
||||||
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
|
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
|
||||||
-DENABLE_STATIC:BOOL=NO .
|
-DENABLE_STATIC:BOOL=NO .
|
||||||
@ -168,6 +176,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test %{?_smp_mflags}
|
|||||||
%{_libdir}/pkgconfig/libturbojpeg.pc
|
%{_libdir}/pkgconfig/libturbojpeg.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 29 2019 Nikola Forró <nforro@redhat.com> - 2.0.2-2
|
||||||
|
- Support running with Intel CET
|
||||||
|
|
||||||
* Wed Feb 27 2019 Nikola Forró <nforro@redhat.com> - 2.0.2-1
|
* Wed Feb 27 2019 Nikola Forró <nforro@redhat.com> - 2.0.2-1
|
||||||
- New upstream release 2.0.2
|
- New upstream release 2.0.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user