Update Makefile (#99)

This commit is contained in:
Ploggy 2024-06-28 23:52:46 +01:00 committed by GitHub
parent e06b42cf12
commit 440e922859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -240,13 +240,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
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)))