diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-01-02 13:56:05 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-01-02 13:56:05 +0100 |
commit | e4d610f9058678d75f0f5060c925ece374488e3c (patch) | |
tree | a2ebde2c63441142d2cb5611f304df25ae43da05 /config/binutils | |
parent | a0d9851dd0db2ad3ffc3c46ababb621c1ead6e6f (diff) | |
download | crosstool-ng-e4d610f9058678d75f0f5060c925ece374488e3c.tar.gz crosstool-ng-e4d610f9058678d75f0f5060c925ece374488e3c.tar.bz2 crosstool-ng-e4d610f9058678d75f0f5060c925ece374488e3c.zip |
binutils/binutils: add support for plugins
Add an option to enable plugins support in binutils.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/binutils')
-rw-r--r-- | config/binutils/binutils.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index 173aacf7..94190f4e 100644 --- a/config/binutils/binutils.in +++ b/config/binutils/binutils.in @@ -62,10 +62,14 @@ config BINUTILS_VERSION config BINUTILS_2_21_or_later bool select BINUTILS_HAS_GOLD + select BINUTILS_HAS_PLUGINS config BINUTILS_HAS_GOLD bool +config BINUTILS_HAS_PLUGINS + bool + if BINUTILS_HAS_GOLD choice @@ -128,6 +132,15 @@ config BINUTILS_LINKERS_LIST endif # BINUTILS_HAS_GOLD +config BINUTILS_PLUGINS + bool + prompt "Enable support for plugins" + depends on BINUTILS_HAS_PLUGINS + help + binutils can be extended through the use of plugins. + Especially, gold can use the lto-plugin, as installed + by gcc, to handle LTO. + config BINUTILS_EXTRA_CONFIG string prompt "binutils extra config" |