From 6478e9615694e2aee107effcbdf3d7814dde5583 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sun, 5 Jun 2011 20:26:05 +0200 Subject: [PATCH] Updated for new ps3toolchain --- configure.in | 2 +- script.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index ebbcd8b06a..3532fff23f 100644 --- a/configure.in +++ b/configure.in @@ -2774,7 +2774,7 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit" fi ;; - *-psl1ght) + *-psl1ght | powerpc64-ps3-elf) ARCH=psl1ght EXTRA_CFLAGS="$EXTRA_CFLAGS -D__PSL1GHT__ -DHAVE_POW -DHAVE_MMAP=0 -DDEBUG_ERROR" EXTRA_CFLAGS="$EXTRA_CFLAGS -I\"$PSL1GHT/ppu/include\" -g -O0 " diff --git a/script.sh b/script.sh index d1d0e08e26..1ac8bb2e1a 100755 --- a/script.sh +++ b/script.sh @@ -9,8 +9,8 @@ fi ./autogen.sh ## Configure the build. -AR="ppu-ar" CC="ppu-gcc" CFLAGS="-O2 -Wall -I$PSL1GHT/ppu/include" LDFLAGS="-L$PSL1GHT/ppu/lib -lrt -llv2" RANLIB="ppu-ranlib" ./configure \ - --prefix="$PS3DEV/portlibs/ppu" --host=ppu-psl1ght \ +CFLAGS="-O2 -Wall -I$PSL1GHT/ppu/include" LDFLAGS="-L$PSL1GHT/ppu/lib -lrt -llv2" ./configure \ + --prefix="$PS3DEV/portlibs/ppu" --host=powerpc64-ps3-elf \ --enable-atomic=yes --enable-video-psl1ght=yes --enable-joystick=yes --enable-audio=yes\ || { exit 1; }