diff options
author | Tianhao Ni <tianhao.ni@samsung.com> | 2022-02-28 09:18:37 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2024-01-18 09:31:56 +0800 |
commit | 1b596cfd68d7291b106e7066a72d80667f5a7853 (patch) | |
tree | dadeaf918539c46956c7b5b865e7bbfb63b6fafb | |
parent | 5d51b08329eb38c9dbd1c238031128aa1c0af65c (diff) | |
download | mesa-1b596cfd68d7291b106e7066a72d80667f5a7853.tar.gz mesa-1b596cfd68d7291b106e7066a72d80667f5a7853.tar.bz2 mesa-1b596cfd68d7291b106e7066a72d80667f5a7853.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 6423c4fdcbf..473446fbda7 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 |