1.1 --- a/config/cc/gcc.in.2 Thu Dec 09 18:55:42 2010 +0100
1.2 +++ b/config/cc/gcc.in.2 Fri Jan 28 18:53:37 2011 +0100
1.3 @@ -24,6 +24,14 @@
1.4 On some systems (eg. Cygwin), PPL and/or CLooG may not
1.5 build properly (yet), so you'll have to say 'N' here.
1.6
1.7 +# The way LTO works is a bit twisted.
1.8 +# See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
1.9 +# Basically:
1.10 +# - if binutils has plugins: LTO is handled by ld/gold by loading
1.11 +# the plugin when linking
1.12 +# - if binutils does not have plugins: LTO is handled by collect2
1.13 +# In any case, LTO support does not depend on plugins, but takes
1.14 +# advantage of it
1.15 config CC_GCC_USE_LTO
1.16 bool
1.17 prompt "Enable LTO"