Disable openmp patch in RHEL for the moment

This commit is contained in:
Adam Jackson 2012-07-30 17:34:54 -04:00
parent b7d5f1ca80
commit 3aa4209e25

View File

@ -3,7 +3,7 @@
Name: pixman Name: pixman
Version: 0.26.2 Version: 0.26.2
Release: 3%{?dist} Release: 4%{?dist}
Summary: Pixel manipulation library Summary: Pixel manipulation library
Group: System Environment/Libraries Group: System Environment/Libraries
@ -34,13 +34,15 @@ Development library for pixman.
%prep %prep
%setup -q %setup -q
%if !0%{?rhel}
%patch1 -p1 -b .openmp %patch1 -p1 -b .openmp
%endif
%build %build
autoreconf -vif 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 %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
@ -62,6 +64,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/pkgconfig/pixman-1.pc %{_libdir}/pkgconfig/pixman-1.pc
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild