diff options
author | Chris Copeland <chris@chrisnc.net> | 2023-08-14 22:09:13 -0700 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-09-24 16:11:41 +1300 |
commit | f22be3a6251c852f321188184f199ffc1d4c156d (patch) | |
tree | 21c9f496aa623a0dc09a64719686c76bcc288adb /config | |
parent | dc82a2bfac6d8113a042d698a3efe566af65dbb4 (diff) | |
download | crosstool-ng-f22be3a6251c852f321188184f199ffc1d4c156d.tar.gz crosstool-ng-f22be3a6251c852f321188184f199ffc1d4c156d.tar.bz2 crosstool-ng-f22be3a6251c852f321188184f199ffc1d4c156d.zip |
allow plugins and LTO with static toolchains
This reverts commit 0841e2f820de7a4dca1ddc52b04bf834fff2806b from 2011,
which disabled plugin support in binutils for static toolchains, citing
build system problems. This problem seems to be resolved.
This also reverts part of 45512b003d04b5a89c5c3bb6b674683d82b87f42 from
2017, which disabled LTO in gcc for static toolchains, citing problems
on Arch Linux with loading the LTO plugin from a static binary.
Signed-off-by: Chris Copeland <chris@chrisnc.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/binutils/binutils.in | 1 | ||||
-rw-r--r-- | config/cc/gcc.in | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index f9b0c096..338220d0 100644 --- a/config/binutils/binutils.in +++ b/config/binutils/binutils.in @@ -128,7 +128,6 @@ 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 diff --git a/config/cc/gcc.in b/config/cc/gcc.in index d064ffb4..6e6bb828 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -29,7 +29,6 @@ config CC_GCC_ENABLE_PLUGINS def_bool y depends on BINUTILS_PLUGINS - depends on ! STATIC_TOOLCHAIN # If binutils installs gold, enable support for gold in gcc config CC_GCC_GOLD @@ -194,7 +193,6 @@ config CC_GCC_USE_GRAPHITE config CC_GCC_USE_LTO bool "Enable LTO" default y - depends on ! STATIC_TOOLCHAIN select ZLIB_NEEDED help Enable the Link Time Optimisations. |