summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2020-02-05 03:23:58 -0600
committerGitHub <noreply@github.com>2020-02-05 10:23:58 +0100
commit57cc7831bf23a66f454f7a92d032b533f9100c67 (patch)
tree91dd8f655a7cd6137519f0c09d1b082673b64591
parentffdde40f56d48c18ca9c45b0599221ef1dab40a2 (diff)
downloadspack-57cc7831bf23a66f454f7a92d032b533f9100c67.tar.gz
spack-57cc7831bf23a66f454f7a92d032b533f9100c67.tar.bz2
spack-57cc7831bf23a66f454f7a92d032b533f9100c67.tar.xz
spack-57cc7831bf23a66f454f7a92d032b533f9100c67.zip
qt: fix on Intel (#14748)
Follow up from #14745
-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 48cdcc3260..9115f41a78 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -322,7 +322,7 @@ class Qt(Package):
if self.spec.satisfies('@4'):
# Necessary to build with GCC 6 and other modern compilers
# http://stackoverflow.com/questions/10354371/
- with open(conf_file, 'a') as f:
+ with open(conf('gcc-base'), 'a') as f:
f.write("QMAKE_CXXFLAGS += -std=gnu++98\n")
@when('@4: %intel')