subread: use compiler wrappers when compiling (#8328)
This commit is contained in:
parent
ed64b8dace
commit
16fb10bc7e
1 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,11 @@ def build(self, spec, prefix):
|
|||
plat = sys.platform
|
||||
with working_dir('src'):
|
||||
if plat.startswith('linux'):
|
||||
filter_file(
|
||||
'CC_EXEC = gcc',
|
||||
'CC_EXEC = {0}'.format(spack_cc),
|
||||
'Makefile.Linux'
|
||||
)
|
||||
make('-f', 'Makefile.Linux')
|
||||
elif plat.startswith('darwin'):
|
||||
make('-f', 'Makefile.MacOS')
|
||||
|
|
Loading…
Reference in a new issue