1.1 --- a/config/cc/gcc.in Mon Mar 28 01:05:18 2011 +0200
1.2 +++ b/config/cc/gcc.in Sat Mar 19 16:01:40 2011 +0100
1.3 @@ -196,6 +196,20 @@
1.4 default n
1.5 select CC_GCC_4_4_or_later
1.6
1.7 +config CC_GCC_4_6
1.8 + bool
1.9 + default n
1.10 + select CC_GCC_4_6_or_later
1.11 + select CC_GCC_USE_GMP_MPFR
1.12 + select CC_GCC_USE_MPC
1.13 + select CC_GCC_HAS_GRAPHITE
1.14 + select CC_GCC_HAS_LTO
1.15 +
1.16 +config CC_GCC_4_6_or_later
1.17 + bool
1.18 + default n
1.19 + select CC_GCC_4_5_or_later
1.20 +
1.21 config CC_GCC_HAS_GRAPHITE
1.22 bool
1.23 default n
2.1 --- a/config/cc/gcc.in.2 Mon Mar 28 01:05:18 2011 +0200
2.2 +++ b/config/cc/gcc.in.2 Sat Mar 19 16:01:40 2011 +0100
2.3 @@ -32,7 +32,8 @@
2.4 # - if binutils does not have plugins: LTO is handled by collect2
2.5 # In any case, LTO support does not depend on plugins, but takes
2.6 # advantage of it
2.7 -# Also, only the 4.5 series needs libelf for LTO
2.8 +# Also, only the 4.5 series needs libelf for LTO; 4.6 has dropped
2.9 +# the dependency.
2.10 config CC_GCC_USE_LTO
2.11 bool
2.12 prompt "Enable LTO"