otf2: add configure args to specify compiler commands. (#12711)
* otf2: add configure args to specify compiler commands. * Modify the reference of the compile commands.
This commit is contained in:
parent
a12c032509
commit
139eaa1306
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ class Otf2(AutotoolsPackage):
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
return [
|
return [
|
||||||
'--enable-shared',
|
'--enable-shared',
|
||||||
|
'CC={0}'.format(spack_cc),
|
||||||
|
'CXX={0}'.format(spack_cxx),
|
||||||
|
'F77={0}'.format(spack_f77),
|
||||||
|
'FC={0}'.format(spack_fc),
|
||||||
'CFLAGS={0}'.format(self.compiler.pic_flag),
|
'CFLAGS={0}'.format(self.compiler.pic_flag),
|
||||||
'CXXFLAGS={0}'.format(self.compiler.pic_flag)
|
'CXXFLAGS={0}'.format(self.compiler.pic_flag)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue