PETSc: configure use CFLAGS,FFLAGS,CXXFLAGS from spack (#9383)
This commit is contained in:
parent
c46a7a61f0
commit
846e2c7ca9
1 changed files with 3 additions and 0 deletions
|
@ -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=']
|
||||
|
|
Loading…
Reference in a new issue