summaryrefslogtreecommitdiff
path: root/packaging/mesa.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/mesa.spec')
-rw-r--r--packaging/mesa.spec7
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