summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAiden Grossman <agrossman154@yahoo.com>2023-10-23 02:43:54 -0700
committerGitHub <noreply@github.com>2023-10-23 03:43:54 -0600
commita6466b9dddf59cc185800ac428bd4ba535b96c2e (patch)
tree68c2de90b2b796a2a8803bb09367c70d51c4cbee
parent96548047f881e474ee715b0502001d25df366637 (diff)
downloadspack-a6466b9dddf59cc185800ac428bd4ba535b96c2e.tar.gz
spack-a6466b9dddf59cc185800ac428bd4ba535b96c2e.tar.bz2
spack-a6466b9dddf59cc185800ac428bd4ba535b96c2e.tar.xz
spack-a6466b9dddf59cc185800ac428bd4ba535b96c2e.zip
3proxy: respect compiler choice (#39240)
-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"
+ )