Source: mruby
Version: 3.1.0-1
Severity: important
Tags: patch

The patch below fixes the FTBFS on i386 (and perhaps also on m68k).

The change in 3.1.0-2 is not necessary.

--- debian/rules.old    2023-02-14 22:24:06.359165557 +0000
+++ debian/rules        2023-02-14 22:25:04.935110237 +0000
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU),i386 m68k))
+  export DEB_CFLAGS_MAINT_APPEND += -ffloat-store
+endif
+
 RAKE="rake --verbose"
 
 %:

Reply via email to