Skip broken test for ocamlopt -g

This commit is contained in:
Jerry James 2024-05-23 09:23:21 -06:00
parent 6eaef8225a
commit e8351d91e3

View File

@ -12,6 +12,7 @@ Summary: Objective CAML package manager and build helper
License: MIT License: MIT
URL: http://projects.camlcity.org/projects/findlib.html URL: http://projects.camlcity.org/projects/findlib.html
VCS: https://github.com/ocaml/ocamlfind
Source0: http://download.camlcity.org/download/findlib-%{version}.tar.gz Source0: http://download.camlcity.org/download/findlib-%{version}.tar.gz
# Fix the toolbox build with OCaml 5.x # Fix the toolbox build with OCaml 5.x
@ -62,6 +63,9 @@ sed -i 's/\${dynlink_subdir}/dynlink/' configure
# Build an executable that is not damaged by stripping # Build an executable that is not damaged by stripping
sed -i 's/\(custom=\)-custom/\1-output-complete-exe/' configure sed -i 's/\(custom=\)-custom/\1-output-complete-exe/' configure
# Skip broken test for ocamlopt -g
sed -i '/^ocamlopt -g/d' configure
%build %build
ocamlc -version ocamlc -version