changeset 2142 | 17e9137b962e |
parent 2141 | a09246191120 |
child 2143 | c7126e94e286 |
1.1 --- a/scripts/build/cc/gcc.sh Fri Oct 08 23:37:12 2010 +0200 1.2 +++ b/scripts/build/cc/gcc.sh Fri Oct 08 23:51:38 2010 +0200 1.3 @@ -181,8 +181,10 @@ 1.4 fi 1.5 if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then 1.6 extra_config+=("--with-libelf=${CT_COMPLIBS_DIR}") 1.7 + extra_config+=("--enable-lto") 1.8 elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then 1.9 extra_config+=("--with-libelf=no") 1.10 + extra_config+=("--disable-lto") 1.11 fi 1.12 1.13 if [ "${CT_CC_GCC_ENABLE_TARGET_OPTSPACE}" = "y" ]; then