Skip to content
Snippets Groups Projects
Unverified Commit 8435016a authored by ketsubouchi's avatar ketsubouchi Committed by GitHub
Browse files

eagle: fix CC=gcc and delete march=native (#17763)

parent 416a929f
Branches
Tags
No related merge requests found
......@@ -33,6 +33,13 @@ def edit(self, spec, prefix):
# add htslib link to ldflags
filter_file('-lcurl', '-lcurl -lhts', 'Makefile', string=True)
# use spack C compiler
filter_file('CC=.*', 'CC={0}'.format(spack_cc), 'Makefile')
# remove march=native %fj
if self.spec.satisfies('%fj'):
filter_file('-march=native', '', 'Makefile', string=True)
def install(self, spec, prefix):
mkdirp(prefix.bin)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment