summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/3proxy/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/3proxy/package.py b/var/spack/repos/builtin/packages/3proxy/package.py
index e9a408698b..78e5289514 100644
--- a/var/spack/repos/builtin/packages/3proxy/package.py
+++ b/var/spack/repos/builtin/packages/3proxy/package.py
@@ -24,7 +24,9 @@ class _3proxy(MakefilePackage):
depends_on("m4", type="build")
def build(self, spec, prefix):
- make("-f", f"Makefile.{platform.system()}")
+ make("-f", f"Makefile.{platform.system()}", f"CC={spack_cc}")
def install(self, spec, prefix):
- make("-f", f"Makefile.{platform.system()}", f"prefix={prefix}", "install")
+ make(
+ "-f", f"Makefile.{platform.system()}", f"prefix={prefix}", f"CC={spack_cc}", "install"
+ )