Files
Ryan Schmidt 8d0c37228c luajit: Fix PowerPC build
Blacklist gcc-4.2 which the build system says is incompatible and add a
patch to fix build failure.

Closes: https://trac.macports.org/ticket/64853
2022-03-19 19:03:36 -05:00

14 lines
496 B
Diff

Fix macOS PowerPC build.
https://www.freelists.org/post/luajit/LuaJIT-on-OS-X-Leopard-PowerPC,1
--- src/host/buildvm.c.orig 2022-03-13 12:34:59.000000000 -0500
+++ src/host/buildvm.c 2022-03-19 15:42:34.000000000 -0500
@@ -113,7 +113,7 @@
name[0] = name[1] == 'R' ? '_' : '@'; /* Just for _RtlUnwind@16. */
else
*p = '\0';
-#elif LJ_TARGET_PPC && !LJ_TARGET_CONSOLE
+#elif LJ_TARGET_PPC && !LJ_TARGET_CONSOLE && !LJ_TARGET_OSX
/* Keep @plt etc. */
#else
*p = '\0';