diff options
author | Joseph Wang <joequant@gmail.com> | 2022-05-30 14:44:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 08:44:31 +0200 |
commit | f583e471b86444f5dcbb83f3751db7fb835ab0be (patch) | |
tree | 764706717b39c67f3995ea932e8f2667e7061bb1 | |
parent | f67f3b1796b0066085e94bea49c1762c5c68080a (diff) | |
download | spack-f583e471b86444f5dcbb83f3751db7fb835ab0be.tar.gz spack-f583e471b86444f5dcbb83f3751db7fb835ab0be.tar.bz2 spack-f583e471b86444f5dcbb83f3751db7fb835ab0be.tar.xz spack-f583e471b86444f5dcbb83f3751db7fb835ab0be.zip |
pass CC variable to make (#30912)
Set CC to cc
-rw-r--r-- | var/spack/repos/builtin/packages/pigz/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pigz/package.py b/var/spack/repos/builtin/packages/pigz/package.py index 2252a90fbc..ed2eecce0e 100644 --- a/var/spack/repos/builtin/packages/pigz/package.py +++ b/var/spack/repos/builtin/packages/pigz/package.py @@ -21,7 +21,9 @@ class Pigz(MakefilePackage): depends_on('zlib') def build(self, spec, prefix): - make() + # force makefile to use cc as C compiler which is set by + # spack + make('CC=cc') def install(self, spec, prefix): mkdirp(prefix.bin) |