summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorketsubouchi <67359246+ketsubouchi@users.noreply.github.com>2020-07-03 15:38:23 +0900
committerGitHub <noreply@github.com>2020-07-02 23:38:23 -0700
commit2cd9e1eb62dd2d3b1cc6d9f21bdbc7e0bee0057d (patch)
treef4f52c450d210d9299afb865eb2ebd1d65590f32
parent61804f201a004bafb786fc0f7ea6c7ab2487b0f0 (diff)
downloadspack-2cd9e1eb62dd2d3b1cc6d9f21bdbc7e0bee0057d.tar.gz
spack-2cd9e1eb62dd2d3b1cc6d9f21bdbc7e0bee0057d.tar.bz2
spack-2cd9e1eb62dd2d3b1cc6d9f21bdbc7e0bee0057d.tar.xz
spack-2cd9e1eb62dd2d3b1cc6d9f21bdbc7e0bee0057d.zip
blat: use SPACK_CC (#17364)
-rw-r--r--var/spack/repos/builtin/packages/blat/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/blat/package.py b/var/spack/repos/builtin/packages/blat/package.py
index 34c9f0da6b..831329eafb 100644
--- a/var/spack/repos/builtin/packages/blat/package.py
+++ b/var/spack/repos/builtin/packages/blat/package.py
@@ -21,5 +21,6 @@ class Blat(Package):
env.set('MACHTYPE', 'x86_64')
def install(self, spec, prefix):
+ filter_file('CC=.*', 'CC={0}'.format(spack_cc), 'inc/common.mk')
mkdirp(prefix.bin)
make("BINDIR=%s" % prefix.bin)