From 4ac87ce61e85dd83f1415ccb3a9ba5638a2c451d Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Wed, 22 Dec 2021 09:24:46 +0100 Subject: [PATCH] Enable fma emulation on m68k --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index 583c0d1b..a7beb7ce 100755 --- a/debian/rules +++ b/debian/rules @@ -67,6 +67,11 @@ ifeq (,$(OCAML_OPT_ARCH)) CONFIGURE_OPTS += --disable-native-compiler endif +# fma does not work on m68k, enable emulation as instructed by configure script +ifeq (m68k,$(DEB_BUILD_ARCH)) +CONFIGURE_OPTS += --enable-imprecise-c99-float-ops +endif + # To avoid Lintian's file-references-package-build-path export BUILD_PATH_PREFIX_MAP=.=$(CURDIR) -- 2.30.2