From: saulfabreg Wii VC Project Date: Fri, 8 Mar 2024 18:32:10 +0000 (-0500) Subject: Libretro: Fix Wii compiling by adding required -ffat-lto-objects X-Git-Tag: v2.00~97 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cca318242ba13c40b1a362f321eae898923f9df;p=picodrive.git 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" --- 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