aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorrsn88872017-03-10 15:29:06 -0600
committerrsn88872017-03-10 16:41:10 -0600
commitf323cffdf6c9eb03a0c4eb3a52c32ea47d739e8b (patch)
treec8d52a3bb614ab5bfa6ebec0f6817b2d7df83edd /configure
parentd541c5e1a1ac0ca11c44f2688be23d18cffbac28 (diff)
downloadscummvm-rg350-f323cffdf6c9eb03a0c4eb3a52c32ea47d739e8b.tar.gz
scummvm-rg350-f323cffdf6c9eb03a0c4eb3a52c32ea47d739e8b.tar.bz2
scummvm-rg350-f323cffdf6c9eb03a0c4eb3a52c32ea47d739e8b.zip
PSP2: optimize compilation for file-size
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 8021a82003..43b895794d 100755
--- a/configure
+++ b/configure
@@ -2663,8 +2663,9 @@ case $_host_os in
append_var CXXFLAGS "-Wl,-q -I$VITASDK/arm-vita-eabi/include"
append_var CXXFLAGS "-march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard"
append_var LDFLAGS "-Wl,-q -L$VITASDK/arm-vita-eabi/lib"
+ append_var CXXFLAGS "-mlong-calls"
if test "$_debug_build" = no; then
- _optimization_level=-O1
+ _optimization_level=-Os
fi
if test "$_debug_build" = yes; then
_optimization_level=-O0