From: kub Date: Sun, 11 Apr 2021 21:41:47 +0000 (+0200) Subject: libretro, build fix for ngc/wii/wiiu X-Git-Tag: v2.00~557 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6b8bcc701c061903ca1ca056c6c3aa1fa489e41;p=picodrive.git libretro, build fix for ngc/wii/wiiu --- diff --git a/Makefile.libretro b/Makefile.libretro index 6a189970..c9898397 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -254,6 +254,8 @@ 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 -DBLARGG_BIG_ENDIAN=1 -D__ppc__ + STATIC_LINKING = 1 + NO_MMAP = 1 # Nintendo Wii else ifeq ($(platform), wii) @@ -261,6 +263,8 @@ 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 -DBLARGG_BIG_ENDIAN=1 -D__ppc__ + STATIC_LINKING = 1 + NO_MMAP = 1 # Nintendo Wii U else ifeq ($(platform), wiiu) @@ -268,8 +272,10 @@ else ifeq ($(platform), wiiu) CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - COMMONFLAGS += -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -D__POWERPC__ -D__ppc__ -DMSB_FIRST -DWORDS_BIGENDIAN=1 -I./deps/include/ - COMMONFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int + CFLAGS += -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -D__POWERPC__ -D__ppc__ -DMSB_FIRST -DWORDS_BIGENDIAN=1 + CFLAGS += -I./deps/include/ -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int + STATIC_LINKING = 1 + NO_MMAP = 1 # Nintendo Switch (libtransistor) else ifeq ($(platform), switch)