PETSc: configure use CFLAGS,FFLAGS,CXXFLAGS from spack (#9383)
This commit is contained in:
parent
c46a7a61f0
commit
846e2c7ca9
@ -205,6 +205,9 @@ def install(self, spec, prefix):
|
|||||||
'--download-c2html=0',
|
'--download-c2html=0',
|
||||||
'--download-sowing=0',
|
'--download-sowing=0',
|
||||||
'--download-hwloc=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=',
|
'COPTFLAGS=',
|
||||||
'FOPTFLAGS=',
|
'FOPTFLAGS=',
|
||||||
'CXXOPTFLAGS=']
|
'CXXOPTFLAGS=']
|
||||||
|
Loading…
Reference in New Issue
Block a user