qt: fix on Intel (#14748)

Follow up from #14745
This commit is contained in:
Seth R. Johnson 2020-02-05 03:23:58 -06:00 committed by GitHub
parent ffdde40f56
commit 57cc7831bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,7 +322,7 @@ def conf(name):
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')