[Pkg-ocaml-maint-commits] [dh-ocaml] 01/01: Add OCAMLBUILD_BEST variable in ocamlvars.mk: 'native' on native architectures and 'byte' otherwise.
Mehdi Dogguy
mehdi at moszumanska.debian.org
Mon Mar 24 21:56:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
mehdi pushed a commit to branch master
in repository dh-ocaml.
commit f05dad930b2d501a3c50f0d786574ea86897224c
Author: Mehdi Dogguy <mehdi at debian.org>
Date: Mon Mar 24 22:56:44 2014 +0100
Add OCAMLBUILD_BEST variable in ocamlvars.mk: 'native' on native architectures and 'byte' otherwise.
---
debian/changelog | 7 +++++++
share/ocamlvars.mk | 4 ++++
2 files changed, 11 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5638427..f73e87d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+dh-ocaml (1.0.9) UNRELEASED; urgency=low
+
+ * Add OCAMLBUILD_BEST variable in ocamlvars.mk: 'native' on native
+ architectures and 'byte' otherwise.
+
+ -- Mehdi Dogguy <mehdi at debian.org> Mon, 24 Mar 2014 22:55:41 +0100
+
dh-ocaml (1.0.8) unstable; urgency=medium
[ Ralf Treinen ]
diff --git a/share/ocamlvars.mk b/share/ocamlvars.mk
index 9ff00e6..276f28f 100644
--- a/share/ocamlvars.mk
+++ b/share/ocamlvars.mk
@@ -72,6 +72,10 @@ endif
# OCAML_BEST will be 'opt' on native architectures and 'byte' otherwise.
OCAML_BEST ?= $(if $(OCAML_OPT_ARCH),opt,byte)
+# OCAMLBUILD_BEST will be 'native' on native architectures and 'byte'
+# otherwise.
+OCAMLBUILD_BEST ?= $(if $(OCAML_OPT_ARCH),native,byte)
+
# OCAML_RUNTIME and OCAML_RUNTIME_NOX are runtime dependencies needed of
# bytecode OCaml programs. OCAML_RUNTIME is ocaml-base-$(OCAML_ABI) and
# OCAML_RUNTIME_NOX is ocaml-base-nox-$(OCAML_ABI).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/dh-ocaml.git
More information about the Pkg-ocaml-maint-commits
mailing list