On Sun, 01 Mar 2015, Jakub Bogusz wrote: > On Sun, Mar 01, 2015 at 02:13:20AM +0100, baggins wrote: > > commit cb6783e55a83ff07b15427e772da6a6f720490a8 > > Author: Jan Rękorajski <bagg...@pld-linux.org> > > Date: Sun Mar 1 02:12:54 2015 +0100 > > > > - fixed files for opt build > > - don't strip non-opt builds > > - rel 6 > > > > ocaml-findlib.spec | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > --- > > diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec > > index c9d835a..39c079c 100644 > > --- a/ocaml-findlib.spec > > +++ b/ocaml-findlib.spec > > @@ -4,6 +4,7 @@ > > > > %ifarch x32 > > %undefine with_opt > > +%define no_install_post_strip 1 > > %endif > > I'd suggest ocaml_opt bcond, so it could be common for ocaml- and > not-only-ocaml specs (there is already ocaml_opt bcond in some library > with ocaml binding).
Feel free to change the template and all ocaml* specs... > What is the issue with stripping? > Does it affect files of some type (extension?), or the same files > depending on build type? > In the first case _noautostrip (unconditional) is the solution. Stripping breaks ocamlfind build on system without opt (or just without opt). It stops recognizing some options. -- Jan Rękorajski | PLD/Linux SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/ _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en