File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,14 +188,17 @@ else ifeq ($(platform), libnx)
188188 STATIC_LINKING = 1
189189
190190# Lightweight PS3 Homebrew SDK
191- else ifeq ($( platform), psl1ght)
192- TARGET := $(TARGET_NAME ) _libretro_$(platform ) .a
193- CC = $(PS3DEV)/ppu/bin/ppu-gcc$
194- CXX = $(PS3DEV)/ppu/bin/ppu-g++$
195- AR = $(PS3DEV)/ppu/bin/ppu-ar$
191+ else ifneq (,$(filter $( platform), ps3 psl1ght) )
192+ TARGET := $(TARGET_NAME)_libretro_$(platform).a
193+ CC = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV) gcc$(EXE_EXT)
194+ CXX = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV) g++$(EXE_EXT)
195+ AR = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV) ar$(EXE_EXT)
196196 STATIC_LINKING = 1
197- FLAGS += -DMSB_FIRST
197+ FLAGS += -DMSB_FIRST -D__PS3__
198198 OLD_GCC = 1
199+ ifeq ($(platform), psl1ght)
200+ FLAGS += -D__PSL1GHT__
201+ endif
199202
200203# PSP
201204else ifeq ($(platform), psp1)
You can’t perform that action at this time.
0 commit comments