diff --git a/srcpkgs/ocaml-findlib/template b/srcpkgs/ocaml-findlib/template index b1bf955df66..e57252cac77 100644 --- a/srcpkgs/ocaml-findlib/template +++ b/srcpkgs/ocaml-findlib/template @@ -16,9 +16,12 @@ nopie=yes disable_parallel_build=yes case "$XBPS_TARGET_MACHINE" in - # native code platforms - x86_64*|aarch64*|riscv64*) make_build_args="all opt";; - *) make_build_target="all";; +# native code platforms +x86_64*|aarch64*|riscv64*) + make_build_args="all opt";; +*) + nostrip=yes # breaks bytecode! + make_build_target="all";; esac