Update Makefile (#229)

This commit is contained in:
Ploggy 2024-06-28 23:43:42 +01:00 committed by GitHub
parent a653bbbdc5
commit ced21d6859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -306,13 +306,12 @@ else ifneq (,$(filter $(platform), ngc wii wiiu))
CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT) CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT)
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
ENDIANNESS_DEFINES += -DGEKKO -mcpu=750 -meabi -mhard-float -DMSB_FIRST -DBYTE_ORDER=BIG_ENDIAN 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 EXTRA_INCLUDES := -I$(DEVKITPRO)/libogc/include
STATIC_LINKING = 1 STATIC_LINKING = 1
# Nintendo WiiU # Nintendo WiiU
ifneq (,$(findstring wiiu,$(platform))) 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 # Nintendo Wii
else ifneq (,$(findstring wii,$(platform))) else ifneq (,$(findstring wii,$(platform)))