From: Stephane Glondu Date: Wed, 22 Dec 2021 08:24:46 +0000 (+0100) Subject: Enable fma emulation on m68k X-Git-Tag: archive/raspbian/4.13.1-3+rpi1~2^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4ac87ce61e85dd83f1415ccb3a9ba5638a2c451d;p=ocaml.git Enable fma emulation on m68k --- 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)