diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-02-17 22:41:17 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-02-17 22:41:17 (GMT) |
commit | 991b90f2425a6f14115efee2456919063d4e1a2b (patch) | |
tree | f165dbbc68303aac3b97516a5ef2da457c24c646 /config/companion_libs.in | |
parent | 2949150cbe92e9e90e9738a2b77489cb0593b5a7 (diff) |
comp-libs: make libelf a companion library
When gcc-4.5 is out, it will require libelf. So better make it a
companion library now rather than postponing the ineluctable.
Diffstat (limited to 'config/companion_libs.in')
-rw-r--r-- | config/companion_libs.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/config/companion_libs.in b/config/companion_libs.in index e230cf9..86c9706 100644 --- a/config/companion_libs.in +++ b/config/companion_libs.in @@ -100,6 +100,20 @@ config MPC can say 'Y' here, although it is unknown yet if any other component can use it. +config LIBELF + bool +# prompt "libelf" + select COMPLIBS + select WRAPPER_NEEDED + help + gcc-4.5.0 and above can also use libelf to enable some optimisation + (LTO, Link-Time Optimisation, to be precise). Although libelf is + optional, crosstool-NG requires it and uses it to build gcc >= 4.5.0. + + This will be automatically selected if you choose gcc>=4.5.0, but you + can say 'Y' here, although it is unknown yet if any other component + can use it. + config GMP_TARGET bool @@ -125,6 +139,9 @@ config MPC_TARGET select PPL_TARGET select CLOOG_TARGET +config LIBELF_TARGET + bool + if GMP || GMP_TARGET comment "GMP version needed to build for target" depends on !GMP @@ -150,6 +167,11 @@ comment "MPC version needed to build for target" depends on !MPC source config/companion_libs/mpc.in endif +if LIBELF || LIBELF_TARGET +comment "libelf version needed to build for target" + depends on !LIBELF +source config/companion_libs/libelf.in +endif config FOO bool |