From 58b606e02f46fbda74b9b8abb9fdc3ec58618ed1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 21 Dec 2014 21:39:36 +0300 Subject: [PATCH] fix ilo compiling Signed-off-by: Igor Gnatenko --- mesa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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