Fix builds on non-native architectures (s390).

This commit is contained in:
Richard W.M. Jones 2017-09-16 10:35:46 +01:00
parent aca58ae28d
commit f30caafe4a

View File

@ -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