aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2017-01-23 19:12:30 +0100
committerGitHub2017-01-23 19:12:30 +0100
commit4744011506bd3419af2c0999eaf8f4df05f03bfd (patch)
tree419a0408f46f60dcc4234cf25ab2e592734efa3f
parent6e9a6c9b040035cdc7d015b8bdb21e920c811dca (diff)
downloadsnes9x2005-4744011506bd3419af2c0999eaf8f4df05f03bfd.tar.gz
snes9x2005-4744011506bd3419af2c0999eaf8f4df05f03bfd.tar.bz2
snes9x2005-4744011506bd3419af2c0999eaf8f4df05f03bfd.zip
(ngc/Wii/WiiU) buildfix for devkitpro r29.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e8620ac..7b1edbb 100644
--- a/Makefile
+++ b/Makefile
@@ -184,6 +184,7 @@ else ifeq ($(platform), ngc)
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
CFLAGS += -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
+ CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
STATIC_LINKING = 1
# Nintendo Wii
@@ -192,6 +193,7 @@ else ifeq ($(platform), wii)
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
+ CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
STATIC_LINKING = 1
# Nintendo WiiU
@@ -199,7 +201,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 -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
+ 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
STATIC_LINKING = 1
else ifeq ($(platform), emscripten)