From 8691022b6b176bb3b23bbdf9bcba528eee33574c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 27 Nov 2012 23:13:27 +0100 Subject: [PATCH] (Salamander PS3) Salamander links with GCC build if I use the SNC linker --- Makefile.ps3.salamander | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.ps3.salamander b/Makefile.ps3.salamander index 73daf2be1d..653e49181e 100644 --- a/Makefile.ps3.salamander +++ b/Makefile.ps3.salamander @@ -35,9 +35,10 @@ ifeq ($(CELL_BUILD_TOOLS),SNC) PPU_CLD = $(CELL_SDK)/host-win32/sn/bin/ps3ppuld.exe PPU_CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe else -ifneq($(system_platform), win) + PPU_CFLAGS += -std=gnu99 PPU_CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe PPU_CLD = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ld.exe + PPU_CXXLD = $(CELL_SDK)/host-win32/sn/bin/ps3ppuld.exe endif PPU_LDLIBS += -lm -lnet_stub -lnetctl_stub -lio_stub -lsysmodule_stub -lsysutil_stub -lsysutil_game_stub -lfs_stub -lsysutil_np_stub