diff options
-rw-r--r-- | var/spack/repos/builtin/packages/bwa/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bwa/package.py b/var/spack/repos/builtin/packages/bwa/package.py index 5f2d3ff178..266ac915e3 100644 --- a/var/spack/repos/builtin/packages/bwa/package.py +++ b/var/spack/repos/builtin/packages/bwa/package.py @@ -36,6 +36,8 @@ class Bwa(Package): zlib_inc_path, 'Makefile') filter_file(r'^LIBS=', "LIBS=-L%s " % spec['zlib'].prefix.lib, 'Makefile') + # use spack C compiler + filter_file('^CC=.*', 'CC={0}'.format(spack_cc), 'Makefile') make() mkdirp(prefix.bin) |