[mesa] fix ilo compiling
Igor Gnatenko
ignatenkobrain at fedoraproject.org
Sun Dec 21 18:39:49 UTC 2014
commit 58b606e02f46fbda74b9b8abb9fdc3ec58618ed1
Author: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Date: Sun Dec 21 21:39:36 2014 +0300
fix ilo compiling
Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
mesa.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/mesa.spec b/mesa.spec
index 7eb055f..e96d263 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -30,6 +30,7 @@
%define base_drivers swrast,nouveau,radeon,r200
%ifarch %{ix86} x86_64
%define platform_drivers ,i915,i965
+%define with_ilo 1
%define with_vmware 1
%define with_xa 1
%define with_opencl 1
@@ -412,7 +413,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS %{?with_opencl:-frtti -fexceptions} %{!?with_ope
%if %{with_hardware}
%{?with_xa:--enable-xa} \
%{?with_nine:--enable-nine} \
- --with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}ilo,r300,nouveau \
+ --with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}%{?with_ilo:ilo,}r300,nouveau \
%else
--with-gallium-drivers=%{?with_llvm:swrast} \
%endif
@@ -541,8 +542,10 @@ rm -rf $RPM_BUILD_ROOT
%ifarch %{ix86} x86_64
%{_libdir}/dri/i915_dri.so
%{_libdir}/dri/i965_dri.so
+%if 0%{?with_ilo}
%{_libdir}/dri/ilo_drv.so
%endif
+%endif
%if 0%{?with_freedreno}
%{_libdir}/dri/kgsl_dri.so
%{_libdir}/dri/msm_dri.so
More information about the scm-commits
mailing list