summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoraliaspider2017-01-23 19:13:04 +0100
committerGitHub2017-01-23 19:13:04 +0100
commit7fe291652cb3c3ba668fb621959752d25cbeeafc (patch)
treee07950566b699b84ce2ae4a7cfc7142a22742c89 /Makefile
parent3c15d69b06ceb6d3c1baf925a063c1108ddba1b7 (diff)
downloadsnes9x2002-7fe291652cb3c3ba668fb621959752d25cbeeafc.tar.gz
snes9x2002-7fe291652cb3c3ba668fb621959752d25cbeeafc.tar.bz2
snes9x2002-7fe291652cb3c3ba668fb621959752d25cbeeafc.zip
(ngc/Wii/WiiU) buildfix for devkitpro r29.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8e0f706..e4c4dc3 100644
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,7 @@ else ifeq ($(platform), ngc)
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar
CFLAGS += -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__
+ CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
STATIC_LINKING := 1
else ifeq ($(platform), wii)
@@ -85,13 +86,15 @@ else ifeq ($(platform), wii)
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar
CFLAGS += -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DHW_RVL
+ CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
STATIC_LINKING := 1
else ifeq ($(platform), wiiu)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar
- CFLAGS += -DGEKKO -DWIIU -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DHW_RVL
+ CFLAGS += -DGEKKO -DWIIU -mwup -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DHW_RVL
+ CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
STATIC_LINKING := 1
# Vita