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"
This commit is contained in:
saulfabreg Wii VC Project 2024-03-08 13:32:10 -05:00 committed by irixxxx
parent 3f5918225a
commit 8cca318242

View file

@ -276,7 +276,7 @@ else ifeq ($(platform), wii)
TARGET := $(TARGET_NAME)_libretro_$(platform).a TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(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 = 1
STATIC_LINKING_LINK = 1 STATIC_LINKING_LINK = 1