From f323cffdf6c9eb03a0c4eb3a52c32ea47d739e8b Mon Sep 17 00:00:00 2001 From: rsn8887 Date: Fri, 10 Mar 2017 15:29:06 -0600 Subject: PSP2: optimize compilation for file-size --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3