From ad7ebf321927b51ae80ea618bfdf1b0909f55acd Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 19 Mar 2011 16:01:40 +0100 Subject: cc/gcc: prepare for upcoming 4.6 gcc 4.6 will no longer depend on libelf. Signed-off-by: "Yann E. MORIN" diff --git a/config/cc/gcc.in b/config/cc/gcc.in index a6db8ae..67fd82f 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 bcb8d1f..fb4fa61 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" -- cgit v0.10.2-6-g49f6