diff --git a/Makefile b/Makefile index 5b54403..66648c1 100644 --- a/Makefile +++ b/Makefile @@ -306,13 +306,12 @@ else ifneq (,$(filter $(platform), ngc wii wiiu)) CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) ENDIANNESS_DEFINES += -DGEKKO -mcpu=750 -meabi -mhard-float -DMSB_FIRST -DBYTE_ORDER=BIG_ENDIAN - FLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int EXTRA_INCLUDES := -I$(DEVKITPRO)/libogc/include STATIC_LINKING = 1 # Nintendo WiiU ifneq (,$(findstring wiiu,$(platform))) - ENDIANNESS_DEFINES += -DWIIU -DHW_RVL -mwup + ENDIANNESS_DEFINES += -DWIIU -DHW_RVL -ffunction-sections -fdata-sections -D__wiiu__ -D__wut__ # Nintendo Wii else ifneq (,$(findstring wii,$(platform)))