From f667f86715e6af16aa8b374ae159d785fbf93331 Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Mon, 3 Jun 2019 22:37:09 -0500 Subject: [PATCH 1/2] libretro: allow mingw cross compile --- Makefile.libretro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 7a0b1e2..06dc1f4 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -612,7 +612,7 @@ CFLAGS += -D_CRT_SECURE_NO_DEPRECATE # Windows else TARGET := $(TARGET_NAME)_libretro.dll - CC = gcc + CC ?= gcc SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=src/drivers/libretro/link.T PSS_STYLE :=2 endif From 3f0cf67403f2e9d92fcc0b054594b2b3a2c6da9f Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Wed, 17 Jul 2019 15:03:29 -0500 Subject: [PATCH 2/2] libretro: fix wiiu compile --- Makefile.libretro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 06dc1f4..5c07900 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -279,7 +279,7 @@ else ifeq ($(platform), wiiu) TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - PLATFORM_DEFINES := -DGEKKO -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float + PLATFORM_DEFINES := -DGEKKO -DHW_RVL -mcpu=750 -meabi -mhard-float PLATFORM_DEFINES += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int ENDIANNESS_DEFINES += -DMSB_FIRST STATIC_LINKING=1