diff options
author | Tianhao Ni <tianhao.ni@samsung.com> | 2022-02-28 09:18:37 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2023-08-15 14:02:15 +0800 |
commit | 16516438c2488e9c99e478c4479b3ffe50f5159d (patch) | |
tree | 0877a8f39d64c582300a22acd5d16a6730ad3a33 | |
parent | 6d4753447a46bba83fbc676ac201ee33af1d98bf (diff) | |
download | mesa-16516438c2488e9c99e478c4479b3ffe50f5159d.tar.gz mesa-16516438c2488e9c99e478c4479b3ffe50f5159d.tar.bz2 mesa-16516438c2488e9c99e478c4479b3ffe50f5159d.zip |
Fix build issue of x86,i586 platform
Change-Id: I15595c08ad24ed3d074705b426e5061aaa68ca03
Signed-off-by: Tianhao Ni <tianhao.ni@samsung.com>
-rw-r--r-- | packaging/mesa.spec | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec index acc68f7a457..ce067798d4a 100644 --- a/packaging/mesa.spec +++ b/packaging/mesa.spec @@ -44,10 +44,6 @@ BuildRequires: pkgconfig(libdrm_intel) >= 2.4.24 ExclusiveArch: %endif -%define USE_GBM 0 -%define USE_VULKAN 1 -%define VULKAN_DRIVER broadcom - %define enable_driver() %{expand:%%{?!enable_%{1}: %%global enable_%{1} 1}} %ifarch %ix86 x86_64 @@ -55,6 +51,9 @@ ExclusiveArch: %define vulkan_drivers "" %define dri_drivers "" %else +%define USE_GBM 0 +%define USE_VULKAN 1 +%define VULKAN_DRIVER broadcom %if %{USE_LLVM} == 1 %enable_driver llvm %endif |