Fix OpenCL-enabled FTBFS by not forcing clang search path to /usr/lib

This commit is contained in:
Adam Jackson 2016-02-11 13:38:12 -05:00
parent a4fd4da5a4
commit 68acb58a00

View File

@ -57,7 +57,7 @@
Summary: Mesa graphics libraries
Name: mesa
Version: 11.2.0
Release: 0.devel.8.%{git}%{?dist}.1
Release: 0.devel.9.%{git}%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
@ -390,7 +390,7 @@ export LDFLAGS="%{__global_ldflags} -static-libstdc++"
--enable-shared-glapi \
--enable-gbm \
%{?with_omx:--enable-omx} \
%{?with_opencl:--enable-opencl --enable-opencl-icd --with-clang-libdir=%{_prefix}/lib} %{!?with_opencl:--disable-opencl} \
%{?with_opencl:--enable-opencl --enable-opencl-icd} %{!?with_opencl:--disable-opencl} \
--enable-glx-tls \
--enable-texture-float=yes \
%{?with_llvm:--enable-gallium-llvm} \
@ -689,6 +689,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Thu Feb 11 2016 Adam Jackson <ajax@redhat.com> 11.2.0-0.devel.9
- Fix OpenCL-enabled FTBFS by not forcing clang search path to /usr/lib
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 11.2.0-0.devel.8.24ea81a.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild