aboutsummaryrefslogtreecommitdiff
path: root/config/binutils/binutils.in
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2025-02-15 13:33:21 +1300
committerChris Packham <judge.packham@gmail.com>2025-02-17 08:44:24 +1300
commite053fc5fa5a2995fd8ca2e79dae57937361d4e1c (patch)
treeed6acf95c9caccd016f40ca85149c1c88ed60ba2 /config/binutils/binutils.in
parent106cfa2016bafc303ad7b96b66febb255f18e0e1 (diff)
downloadcrosstool-ng-e053fc5fa5a2995fd8ca2e79dae57937361d4e1c.tar.gz
crosstool-ng-e053fc5fa5a2995fd8ca2e79dae57937361d4e1c.tar.bz2
crosstool-ng-e053fc5fa5a2995fd8ca2e79dae57937361d4e1c.zip
binutils: Don't enable plugins with static toolchain
A static toolchain by definition can't load plugins and GCC will reject the --enable-plugin configure option if we're trying to build a static toolchain. Fixes #2288 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config/binutils/binutils.in')
-rw-r--r--config/binutils/binutils.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in
index 4a91a8f7..af321524 100644
--- a/config/binutils/binutils.in
+++ b/config/binutils/binutils.in
@@ -132,6 +132,7 @@ config BINUTILS_LINKER_DEFAULT
config BINUTILS_PLUGINS
bool
prompt "Enable support for plugins"
+ depends on !STATIC_TOOLCHAIN
help
binutils can be extended through the use of plugins.
Especially, gold can use the lto-plugin, as installed