Configure with --enable-ocamltest on test_arches
This commit is contained in:
parent
2ec55e949b
commit
ebbf4c122f
@ -268,6 +268,11 @@ sed -i '/^EXTRACAMLFLAGS=/aLINKOPTS=-cclib -lm' otherlibs/unix/Makefile
|
||||
%if 0%{?_include_frame_pointers}
|
||||
--enable-frame-pointers \
|
||||
%endif
|
||||
%endif
|
||||
%ifarch %{test_arches}
|
||||
--enable-ocamltest \
|
||||
%else
|
||||
--disable-ocamltest \
|
||||
%endif
|
||||
OC_CFLAGS='%{build_cflags}' \
|
||||
OC_LDFLAGS='%{build_ldflags}' \
|
||||
@ -297,10 +302,6 @@ annocheck -v hello ||:
|
||||
%endif
|
||||
|
||||
%ifarch %{test_arches}
|
||||
make ocamltest
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
make ocamltest.opt
|
||||
%endif
|
||||
%ifarch %{test_arches_required}
|
||||
make -j1 tests
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user