From bfc9afbb3290a05b442ffbb5c467ccdf559b722e Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 29 Apr 2014 03:26:53 +0100 Subject: [PATCH] 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. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index b901943c7e2e..f0c01cea4218 100755 --- a/configure +++ b/configure @@ -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