This patch fixes non-strippability of bytecode executables linked with
custom runtime. The new behaviour is enabled when OCAML_CUSTOM_EMBED
is set to "y", or when DEB_HOST_ARCH is non-empty.
Avoid multiple declarations in generated .c files in -output-obj
In -output-obj mode, <caml/mlvalues.h> (which contains some
primitives) is included in the generated .c file, leading to errors
when compiling with g++ (multiple declarations).
There are probably better implementations (in particular, in this one,
care must be taken when changing the list of primitives available in
mlvalues.h), but this is a small and (not too) intrusive patch.
Bug: http://caml.inria.fr/mantis/view.php?id=5254 Signed-off-by: Stephane Glondu <steph@glondu.net>
Gbp-Pq: Name 0005-Avoid-multiple-declarations-in-generated-.c-files-in.patch
* d/rules: split install-stamp target into -arch and -indep, to allow
for building with option -A (Closes: #806087).
* drop d/ocaml-nox.links.in since it contains only links to the
ocamlbuild.1 manpage which is no longer shipped by upstream. Thanks
to Andreas Beckmann for the hint (Closes: #801447).
* d/ocaml-base-nox.README.Debian: fix two spelling errors.
* standards-version 3.9.8 (no change)