Skip to content

Commit

Permalink
Merge pull request #288 from ashquarky/wiiu-new-devkitppc
Browse files Browse the repository at this point in the history
(WiiU) Fix for modern devkitPPC versions
  • Loading branch information
LibretroAdmin authored Dec 26, 2022
2 parents 2ed8d68 + 1ab2e85 commit bc3bbb2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libretro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -338,13 +338,12 @@ else ifneq (,$(filter $(platform), ngc wii wiiu))
CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT)
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
CXXFLAGS += -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__
CXXFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
STATIC_LINKING=1
STATIC_LINKING_LINK=1

# Nintendo WiiU
ifneq (,$(findstring wiiu,$(platform)))
CXXFLAGS += -mwup
CXXFLAGS += -ffunction-sections -fdata-sections -D__wiiu__ -D__wut__

# Nintendo Wii
else ifneq (,$(findstring wii,$(platform)))
Expand Down

0 comments on commit bc3bbb2

Please sign in to comment.