projects
/
ocaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f9d9dc
)
Enable fma emulation on m68k
author
Stephane Glondu
<steph@glondu.net>
Wed, 22 Dec 2021 08:24:46 +0000
(09:24 +0100)
committer
Stéphane Glondu
<glondu@debian.org>
Wed, 22 Dec 2021 08:25:16 +0000
(09:25 +0100)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 583c0d1b8fa3d3c2bf5404c88415fcfd209fff1f..a7beb7cefcb4699958d5381090ae97e6acfa1a96 100755
(executable)
--- 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)