PS2: Add support for building against old SDK if PS2SDK_OLD envvar set.

This will allow compilation using the older SDK until the buildbot
PS2 toolchain SDK can be upgraded and we can confirm the newer SDK
builds are working correctly.
This commit is contained in:
D G Turner 2014-04-29 03:26:53 +01:00
parent 6c2a7f0ca3
commit bfc9afbb32

4
configure vendored
View file

@ -2316,7 +2316,9 @@ case $_host_os in
CXXFLAGS="$CXXFLAGS -G2"
DEFINES="$DEFINES -D_EE"
DEFINES="$DEFINES -D__PLAYSTATION2__"
DEFINES="$DEFINES -D__NEW_PS2SDK__"
if test -z "$PS2SDK_OLD"; then
DEFINES="$DEFINES -D__NEW_PS2SDK__"
fi
;;
ps3)
# Force use of SDL and freetype from the ps3 toolchain