summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/cc/gcc.in14
-rw-r--r--config/cc/gcc.in.23
2 files changed, 16 insertions, 1 deletions
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"