diff options
author | Valentin Volkl <valentin.volkl@cern.ch> | 2022-04-19 14:10:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 14:10:05 +0200 |
commit | bad6ebc9108c65f65f8e9a46b71a5527d2351b36 (patch) | |
tree | 554a91266f0aad616701400f33021e39a7aece78 /var | |
parent | 48122affbd372d17d4a95756da2ebddaface02c2 (diff) | |
download | spack-bad6ebc9108c65f65f8e9a46b71a5527d2351b36.tar.gz spack-bad6ebc9108c65f65f8e9a46b71a5527d2351b36.tar.bz2 spack-bad6ebc9108c65f65f8e9a46b71a5527d2351b36.tar.xz spack-bad6ebc9108c65f65f8e9a46b71a5527d2351b36.zip |
pacparser: fix compilation with clang (#29589)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/pacparser/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/pacparser/package.py b/var/spack/repos/builtin/packages/pacparser/package.py index ee8a24228d..f986edbc16 100644 --- a/var/spack/repos/builtin/packages/pacparser/package.py +++ b/var/spack/repos/builtin/packages/pacparser/package.py @@ -29,9 +29,10 @@ class Pacparser(MakefilePackage): description='Build and install python bindings') def build(self, spec, prefix): - make('-C', 'src') + make('CC="%s"' % self.compiler.cc, 'CXX="%s"' % self.compiler.cxx, '-C', 'src') if '+python' in spec: - make('-C', 'src', 'pymod') + make('CC="%s"' % self.compiler.cc, 'CXX="%s"' % self.compiler.cxx, + '-C', 'src', 'pymod') def install(self, spec, prefix): make('-C', 'src', 'install', 'PREFIX=' + self.prefix) |