ocaml: compile versions before 4.8.0 again (#48470)
This commit is contained in:
parent
a2b7fee3fe
commit
f4d2ff0068
@ -78,7 +78,10 @@ def install(self, spec, prefix):
|
||||
string=True,
|
||||
)
|
||||
|
||||
configure(*(base_args), f"CC={self.compiler.cc}")
|
||||
if self.spec.satisfies("@4.8.0:"):
|
||||
base_args += [f"CC={self.compiler.cc}"]
|
||||
|
||||
configure(*(base_args))
|
||||
|
||||
make("world.opt")
|
||||
make("install", "PREFIX={0}".format(prefix))
|
||||
|
Loading…
Reference in New Issue
Block a user