Disable openmp patch in RHEL for the moment
This commit is contained in:
parent
b7d5f1ca80
commit
3aa4209e25
11
pixman.spec
11
pixman.spec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: pixman
|
||||
Version: 0.26.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Pixel manipulation library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -34,13 +34,15 @@ Development library for pixman.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if !0%{?rhel}
|
||||
%patch1 -p1 -b .openmp
|
||||
%endif
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
%configure --disable-static
|
||||
%configure --disable-static %{?rhel:--disable-openmp}
|
||||
|
||||
make %{?_smp_mflags} V=1 CFLAGS="$CFLAGS -fopenmp -fno-strict-aliasing" LDFLAGS="$LDFLAGS -fopenmp"
|
||||
make %{?_smp_mflags} V=1 CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
@ -62,6 +64,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%{_libdir}/pkgconfig/pixman-1.pc
|
||||
|
||||
%changelog
|
||||
* Mon Jul 30 2012 Adam Jackson <ajax@redhat.com> 0.26.2-4
|
||||
- Disable openmp patch in RHEL for the moment
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user