PS3: Use -mno-fp-in-toc instead of -mminimal-toc

-mno-fp-in-toc is enough not to overflow the TOC. According to the GCC
documentation this allows for faster code to be generated than with
-mminimal-toc.
This commit is contained in:
Bastien Bouclet 2018-02-04 21:37:24 +01:00
parent 19bd3fead8
commit fc46db8263

2
configure vendored
View File

@ -2666,7 +2666,7 @@ case $_host_os in
_libcurlpath="$PS3DEV/portlibs/ppu:$PS3DEV/portlibs/ppu/bin"
append_var DEFINES "-DPLAYSTATION3"
append_var CXXFLAGS "-mcpu=cell -mminimal-toc -I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include"
append_var CXXFLAGS "-mcpu=cell -mno-fp-in-toc -I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include"
append_var LDFLAGS "-L$PSL1GHT/ppu/lib -L$PS3DEV/portlibs/ppu/lib"
# The network libraries are statically linked and need to be specified in the following order
append_var SDL_NET_LIBS "-lSDL_net -lnet -lsysmodule"