From 8cca318242ba13c40b1a362f321eae898923f9df Mon Sep 17 00:00:00 2001 From: saulfabreg Wii VC Project Date: Fri, 8 Mar 2024 13:32:10 -0500 Subject: [PATCH] Libretro: Fix Wii compiling by adding required -ffat-lto-objects Otherwise when compiling the final dol will result in compilation errors because of missing Libretro dependencies. (dirty, quick-fix) workaround for stop the compiler messages of "plugin needed to handle lto object" --- Makefile.libretro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 60e6bfdd..d849be81 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -276,7 +276,7 @@ else ifeq ($(platform), wii) TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float + CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -ffat-lto-objects STATIC_LINKING = 1 STATIC_LINKING_LINK = 1 -- 2.39.2