0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 05:41:22 +00:00
Andre Heider a7d750f2b8 libretro-mame2016: fix cross compilation
Replace the current patch with the same approach as libretro-mame:

Don't set PTR64=0 on 32bit archs, instead set ARCHITECTURE to an empty
string. That way we don't need to patch out hardcoded -m32 arguments.

While at it, disable the bgfx hw renderers, or that pile of build crap
tries to include X11 headers.
2020-01-17 09:01:43 +01:00

12 lines
460 B
Diff

--- a/3rdparty/bgfx/src/config.h 2020-01-14 08:42:35.023108564 +0100
+++ b/3rdparty/bgfx/src/config.h 2020-01-14 08:42:39.527041246 +0100
@@ -12,7 +12,7 @@
# define BGFX_CONFIG_DEBUG 0
#endif // BGFX_CONFIG_DEBUG
-#if !defined(BGFX_CONFIG_RENDERER_DIRECT3D9) \
+#if 0 && !defined(BGFX_CONFIG_RENDERER_DIRECT3D9) \
&& !defined(BGFX_CONFIG_RENDERER_DIRECT3D11) \
&& !defined(BGFX_CONFIG_RENDERER_DIRECT3D12) \
&& !defined(BGFX_CONFIG_RENDERER_METAL) \