summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/qt/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py
index 25c896074b..5fdd07c7a5 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -158,7 +158,6 @@ class Qt(Package):
'-shared',
'-confirm-license',
'-openssl-linked',
- '-no-phonon',
'-optimized-qmake',
'-no-openvg',
'-no-pch',
@@ -166,6 +165,9 @@ class Qt(Package):
'-no-nis'
]
+ if '@4' in self.spec:
+ config_args.append('-no-phonon')
+
if '+dbus' in self.spec:
config_args.append('-dbus-linked')
else: