diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-03-27 23:05:18 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-03-27 23:05:18 (GMT) |
commit | 67d96ea16f57ef0994fd78e6a14ecd2eaa743c37 (patch) | |
tree | d4b1e4b7c859585a218b53fab2472f64c6667fa9 /config/cc/gcc.in.2 | |
parent | 05851ca0d95e170b0434ec2b9f4c5421b6185cc3 (diff) |
cc/gcc: cleanup the _or_later logic
So far, we've had a version always select appropriate _or_later option,
which in turn would select all previous _or_later options.
Because the dependencies on companion libs were cumulative, that was
working OK. But the upcoming 4.6 will no longer depend on libelf, so
we can't keep the cumulative scheme we've been using so far.
Have each release family select the corresponding dependencies, instead
of relying on selecting previous _or_later.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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. |