Skip to content

Commit

Permalink
Libretro: Fix Wii compiling by adding required -ffat-lto-objects
Browse files Browse the repository at this point in the history
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"
  • Loading branch information
saulfabregwiivc authored and irixxxx committed Mar 9, 2024
1 parent 3f59182 commit 8cca318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.libretro
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8cca318

Please sign in to comment.