fixes for platform support for PSP

This commit is contained in:
kub 2021-02-05 23:10:22 +01:00
parent 4cc0fcaf15
commit bfd6662370
6 changed files with 33 additions and 22 deletions

4
configure vendored
View file

@ -17,7 +17,7 @@ compile_object()
compile_binary()
{
c="$CC $CFLAGS $TMPC -o $TMPB $LDFLAGS $@"
c="$CC $CFLAGS $TMPC -o $TMPB $LDFLAGS $@ $SYSLIBS"
echo $c >> config.log
$c >> config.log 2>&1
}
@ -116,7 +116,7 @@ set_platform()
;;
psp)
# use newlib
LDFLAGS="$LDFLAGS -lc -lpspuser -lpspkernel"
SYSLIBS="-lc -lpspuser -lpspkernel"
CFLAGS="$CFLAGS -D__PSP__"
ARCH=mipsel
;;