diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-03-19 16:01:40 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-03-19 16:01:40 +0100 |
commit | ad7ebf321927b51ae80ea618bfdf1b0909f55acd (patch) | |
tree | 8c757fe689b07c0c872fbbb916f98eba55ad9cea | |
parent | 67d96ea16f57ef0994fd78e6a14ecd2eaa743c37 (diff) | |
download | crosstool-ng-ad7ebf321927b51ae80ea618bfdf1b0909f55acd.tar.gz crosstool-ng-ad7ebf321927b51ae80ea618bfdf1b0909f55acd.tar.bz2 crosstool-ng-ad7ebf321927b51ae80ea618bfdf1b0909f55acd.zip |
cc/gcc: prepare for upcoming 4.6
gcc 4.6 will no longer depend on libelf.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rw-r--r-- | config/cc/gcc.in | 14 | ||||
-rw-r--r-- | config/cc/gcc.in.2 | 3 |
2 files changed, 16 insertions, 1 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in index a6db8ae0..67fd82fe 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -196,6 +196,20 @@ config CC_GCC_4_5_or_later default n select CC_GCC_4_4_or_later +config CC_GCC_4_6 + bool + default n + select CC_GCC_4_6_or_later + select CC_GCC_USE_GMP_MPFR + select CC_GCC_USE_MPC + select CC_GCC_HAS_GRAPHITE + select CC_GCC_HAS_LTO + +config CC_GCC_4_6_or_later + bool + default n + select CC_GCC_4_5_or_later + config CC_GCC_HAS_GRAPHITE bool default n diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index bcb8d1f2..fb4fa61d 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -32,7 +32,8 @@ config CC_GCC_USE_GRAPHITE # - if binutils does not have plugins: LTO is handled by collect2 # In any case, LTO support does not depend on plugins, but takes # advantage of it -# Also, only the 4.5 series needs libelf for LTO +# Also, only the 4.5 series needs libelf for LTO; 4.6 has dropped +# the dependency. config CC_GCC_USE_LTO bool prompt "Enable LTO" |