summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJuan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com>2023-06-08 21:17:29 +0200
committerGitHub <noreply@github.com>2023-06-08 12:17:29 -0700
commitb4bbe5e3051ebfaa14e789e4f43ee521267a9713 (patch)
treeba948aa4245a90f8fda29f963dd2235ad94e2248 /var
parentf5b595071e7832560a91f19f65fd9ec912bc2b72 (diff)
downloadspack-b4bbe5e3051ebfaa14e789e4f43ee521267a9713.tar.gz
spack-b4bbe5e3051ebfaa14e789e4f43ee521267a9713.tar.bz2
spack-b4bbe5e3051ebfaa14e789e4f43ee521267a9713.tar.xz
spack-b4bbe5e3051ebfaa14e789e4f43ee521267a9713.zip
ocaml: don't use the spack compiler (#38251)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ocaml/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ocaml/package.py b/var/spack/repos/builtin/packages/ocaml/package.py
index 4894c95509..f056e6910b 100644
--- a/var/spack/repos/builtin/packages/ocaml/package.py
+++ b/var/spack/repos/builtin/packages/ocaml/package.py
@@ -70,7 +70,7 @@ class Ocaml(Package):
string=True,
)
- configure(*(base_args))
+ configure(*(base_args), f"CC={self.compiler.cc}")
make("world.opt")
make("install", "PREFIX={0}".format(prefix))