summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2019-09-26 12:15:17 -0700
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-09-26 21:15:17 +0200
commit5201d2615eff0a7ff948b5783a0d859eb53a9423 (patch)
tree450af09c4ea4a7f01cbb84b60bdc7de379d74b6b
parent7dae058f913a5851cbecd60322c9f98739eb221e (diff)
downloadspack-5201d2615eff0a7ff948b5783a0d859eb53a9423.tar.gz
spack-5201d2615eff0a7ff948b5783a0d859eb53a9423.tar.bz2
spack-5201d2615eff0a7ff948b5783a0d859eb53a9423.tar.xz
spack-5201d2615eff0a7ff948b5783a0d859eb53a9423.zip
qt4: fix 'arch' string due to microarchitecture change (#12957)
qt4 fails to build because it's expecting something like 'x86_64' rather than 'broadwell'.
-rw-r--r--var/spack/repos/builtin/packages/qt/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py
index c67b6a76af..fc55570eb3 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -427,7 +427,7 @@ class Qt(Package):
'-{0}gtkstyle'.format('' if '+gtk' in spec else 'no-'),
'-{0}webkit'.format('' if '+webkit' in spec else 'no-'),
'-{0}phonon'.format('' if '+phonon' in spec else 'no-'),
- '-arch', str(spec.architecture.target),
+ '-arch', str(spec.target.family),
])
# Disable phonon backend until gstreamer is setup as dependency