mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
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>
This commit is contained in:
parent
67d96ea16f
commit
ad7ebf3219
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user