diff options
Diffstat (limited to 'config/cc/gcc.in.2')
-rw-r--r-- | config/cc/gcc.in.2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index 642ea5b..bcb8d1f 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -32,12 +32,13 @@ 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 config CC_GCC_USE_LTO bool prompt "Enable LTO" default y depends on CC_GCC_HAS_LTO - select CC_GCC_USE_LIBELF + select CC_GCC_USE_LIBELF if CC_GCC_4_5 help Enable the Link Time Optimisations. |