PETSc: configure use CFLAGS,FFLAGS,CXXFLAGS from spack (#9383)

This commit is contained in:
Satish Balay 2018-10-03 08:19:43 -05:00 committed by GitHub
parent c46a7a61f0
commit 846e2c7ca9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,6 +205,9 @@ def install(self, spec, prefix):
'--download-c2html=0',
'--download-sowing=0',
'--download-hwloc=0',
'CFLAGS=%s' % ' '.join(spec.compiler_flags['cflags']),
'FFLAGS=%s' % ' '.join(spec.compiler_flags['fflags']),
'CXXFLAGS=%s' % ' '.join(spec.compiler_flags['cxxflags']),
'COPTFLAGS=',
'FOPTFLAGS=',
'CXXOPTFLAGS=']