Fix builds on non-native architectures (s390).
This commit is contained in:
parent
aca58ae28d
commit
f30caafe4a
@ -55,8 +55,13 @@ make configure \
|
|||||||
|
|
||||||
# Parallel builds fail.
|
# Parallel builds fail.
|
||||||
make \
|
make \
|
||||||
|
%ifarch %{ocaml_native_compiler}
|
||||||
OCAMLC="ocamlc.opt -g" \
|
OCAMLC="ocamlc.opt -g" \
|
||||||
OCAMLOPT="ocamlopt.opt -g"
|
OCAMLOPT="ocamlopt.opt -g"
|
||||||
|
%else
|
||||||
|
OCAMLC="ocamlc -g" \
|
||||||
|
OCAMLOPT="ocamlopt -g"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user