void-packages/srcpkgs/mame/patches/ppc-fixes.patch
q66 496f9a6fe3 mame: readd relevant part of ppc patch
We still need 64-bit long double.

[ci skip]
2019-11-01 21:36:20 +01:00

15 lines
309 B
Diff

--- makefile
+++ makefile
@@ -394,6 +394,12 @@ BIGENDIAN := 1
endif
endif # BIGENDIAN
+# Work around an issue with long doubles on ppc (#3157)
+ifneq (,$(findstring ppc,$(UNAME)))
+ARCHOPTS_C += -mlong-double-64
+ARCHOPTS_CXX += -mlong-double-64
+endif
+
ifndef PYTHON_EXECUTABLE
PYTHON := python
else