From fded1395644c56c34786812b31ed5bea9dd820c6 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Fri, 4 Sep 2020 15:31:05 +0200 Subject: [PATCH] Call ./configure with --disable-native-compiler on bytecode --- debian/changelog | 7 +++++++ debian/rules | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 74efcacb..af625400 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ocaml (4.11.1-2) UNRELEASED; urgency=medium + + * Call ./configure with --disable-native-compiler on all bytecode + architectures + + -- Stéphane Glondu Fri, 04 Sep 2020 15:30:36 +0200 + ocaml (4.11.1-1) experimental; urgency=medium * New upstream release diff --git a/debian/rules b/debian/rules index 5f92738d..2817a391 100755 --- a/debian/rules +++ b/debian/rules @@ -63,7 +63,7 @@ CONFIGURE_OPTS := \ # Upstream recommends dropping support on armel, see https://github.com/ocaml/ocaml/issues/7642 # Binaries generated by ocamlopt segfault on x32 # ld reports spurious messages on powerpc, see https://github.com/ocaml/ocaml/issues/8846 -ifneq (,$(filter $(DEB_HOST_ARCH),armel powerpc x32)) +ifeq (,$(OCAML_OPT_ARCH)) CONFIGURE_OPTS += --disable-native-compiler endif -- 2.30.2