PS3: Fix build using lastest ps3toolchain

This commit is contained in:
Bastien Bouclet 2012-04-27 14:12:55 +02:00
parent fe4cd8d9ff
commit cc2b95b068

8
configure vendored
View File

@ -1403,6 +1403,10 @@ ps3)
echo "Please set PS3DEV in your environment. export PS3DEV=<path to ps3 toolchain>"
exit 1
fi
if test -z "$PSL1GHT"; then
echo "Please set PSL1GHT in your environment. export PSL1GHT=<path to psl1ght>"
exit 1
fi
;;
psp)
if test -z "$PSPDEV"; then
@ -2068,8 +2072,8 @@ case $_host_os in
_sdlpath="$PS3DEV/portlibs/ppu:$PS3DEV/portlibs/ppu/bin"
DEFINES="$DEFINES -DPLAYSTATION3"
CXXFLAGS="$CXXFLAGS -mcpu=cell -mminimal-toc -I$PS3DEV/psl1ght/ppu/include -I$PS3DEV/portlibs/ppu/include"
LDFLAGS="$LDFLAGS -L$PS3DEV/psl1ght/ppu/lib -L$PS3DEV/portlibs/ppu/lib"
CXXFLAGS="$CXXFLAGS -mcpu=cell -mminimal-toc -I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include"
LDFLAGS="$LDFLAGS -L$PSL1GHT/ppu/lib -L$PS3DEV/portlibs/ppu/lib"
add_line_to_config_mk 'PLAYSTATION3 = 1'
add_line_to_config_h "#define PREFIX \"${prefix}\""
;;