aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBastien Bouclet2018-02-04 21:37:24 +0100
committerBastien Bouclet2018-02-04 21:37:24 +0100
commitfc46db8263af534f2a584bf9098989b15cc0100e (patch)
tree2ef6273fd4bbe2fd653cec3a96b818ef58e923f1 /configure
parent19bd3fead832efe2a7fe0fbca4a5e34f2207e3c5 (diff)
downloadscummvm-rg350-fc46db8263af534f2a584bf9098989b15cc0100e.tar.gz
scummvm-rg350-fc46db8263af534f2a584bf9098989b15cc0100e.tar.bz2
scummvm-rg350-fc46db8263af534f2a584bf9098989b15cc0100e.zip
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index bd001c9c01..77e0d89b6a 100755
--- a/configure
+++ b/configure
@@ -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"