From 503b2bb4fa747442fb91b89644238e5267637bcd Mon Sep 17 00:00:00 2001 From: Ploggy Date: Fri, 3 Mar 2023 18:56:43 +0000 Subject: [PATCH] Update Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dfe63c4..d868460 100644 --- a/Makefile +++ b/Makefile @@ -449,8 +449,8 @@ else ifeq ($(platform), wiiu) CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - PLATFORM_DEFINES += -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float - PLATFORM_DEFINES += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int + PLATFORM_DEFINES += -DGEKKO -DWIIU -DHW_RVL -mcpu=750 -meabi -mhard-float + PLATFORM_DEFINES += -ffunction-sections -fdata-sections -D__wiiu__ -D__wut__ STATIC_LINKING = 1 # Nintendo Switch (libtransistor)