diff --git a/Makefile b/Makefile index 07d5368..21b5376 100644 --- a/Makefile +++ b/Makefile @@ -257,8 +257,8 @@ else ifeq ($(platform), wiiu) TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - CFLAGS += -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST - CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int + CFLAGS += -DGEKKO -DWIIU -DHW_RVL -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST + CFLAGS += -ffunction-sections -fdata-sections -D__wiiu__ -D__wut__ STATIC_LINKING = 1 else ifeq ($(platform), emscripten) TARGET := $(TARGET_NAME)_libretro_$(platform).bc