diff --git a/platforms/libretro/Makefile b/platforms/libretro/Makefile index eba2146a..8a265879 100644 --- a/platforms/libretro/Makefile +++ b/platforms/libretro/Makefile @@ -135,7 +135,7 @@ else ifneq (,$(filter $(platform), ngc wii wiiu)) CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) CXXFLAGS += -DMINIZ_NO_TIME -DGEKKO -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST -I$(DEVKITPRO)/libogc/include - CXXFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int + CXXFLAGS += -ffunction-sections -fdata-sections -D__wiiu__ -D__wut__ STATIC_LINKING = 1 ifneq (,$(findstring wiiu,$(platform))) CXXFLAGS += -DWIIU -DHW_RVL