summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/mesa/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py
index 9cc0801dad..dba6c5d982 100644
--- a/var/spack/repos/builtin/packages/mesa/package.py
+++ b/var/spack/repos/builtin/packages/mesa/package.py
@@ -101,6 +101,9 @@ class Mesa(AutotoolsPackage):
args_gallium_drivers = ['swrast']
args_dri_drivers = []
+ if 'arm' in spec.architecture.target.lower():
+ args.append('--disable-libunwind')
+
num_frontends = 0
if '+osmesa' in spec:
num_frontends += 1