BUILD: Fix PSP compilation tests for updated buildbot toolchain
This commit is contained in:
parent
5efb2590d4
commit
06a7183a6f
1 changed files with 9 additions and 5 deletions
14
configure
vendored
14
configure
vendored
|
@ -1830,6 +1830,15 @@ psp)
|
||||||
echo "Please set PSPSDK in your environment. export PSPSDK=<path to psp sdk>"
|
echo "Please set PSPSDK in your environment. export PSPSDK=<path to psp sdk>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# These have to be set early because the compiler will not link successfully
|
||||||
|
# during testing otherwise
|
||||||
|
if test -d "$PSPDEV/psp/lib"; then
|
||||||
|
append_var LDFLAGS "-L$PSPDEV/psp/lib"
|
||||||
|
fi
|
||||||
|
append_var LDFLAGS "-L$PSPSDK/lib"
|
||||||
|
append_var LDFLAGS "-specs=$_srcdir/backends/platform/psp/psp.spec"
|
||||||
|
|
||||||
;;
|
;;
|
||||||
riscos)
|
riscos)
|
||||||
if test -z "$GCCSDK_INSTALL_ENV"; then
|
if test -z "$GCCSDK_INSTALL_ENV"; then
|
||||||
|
@ -2860,11 +2869,6 @@ case $_host_os in
|
||||||
add_line_to_config_h "#define PREFIX \"${prefix}\""
|
add_line_to_config_h "#define PREFIX \"${prefix}\""
|
||||||
;;
|
;;
|
||||||
psp)
|
psp)
|
||||||
if test -d "$PSPDEV/psp/lib"; then
|
|
||||||
append_var LDFLAGS "-L$PSPDEV/psp/lib"
|
|
||||||
fi
|
|
||||||
append_var LDFLAGS "-L$PSPSDK/lib"
|
|
||||||
append_var LDFLAGS "-specs=$_srcdir/backends/platform/psp/psp.spec"
|
|
||||||
_optimization_level=-O3
|
_optimization_level=-O3
|
||||||
append_var CXXFLAGS "-I$PSPSDK/include"
|
append_var CXXFLAGS "-I$PSPSDK/include"
|
||||||
# FIXME: Why is the following in CXXFLAGS and not in DEFINES? Change or document this.
|
# FIXME: Why is the following in CXXFLAGS and not in DEFINES? Change or document this.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue