mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
allow plugins and LTO with static toolchains
This reverts commit0841e2f820
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 of45512b003d
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>
This commit is contained in:
parent
dc82a2bfac
commit
f22be3a625
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user