kumquat-buildroot/package/gcc
Arnout Vandecappelle (Essensium/Mind) b07210b272 package/gcc: remove BR2_GCC_ENABLE_LTO
Currently, this option doesn't do anything. It only adds
--enable-plugins --enable-lto to the configure flags, but doesn't
disable them if it is not set. Since both of these default to enabled,
plugins and lto are effectively always enabled.

There really is no need to make this configurable: it adds a bit of size
and build time to host-gcc, but we don't care about that for host tools.
It's still up to individual builds to enable the LTO options.

Therefore, remove the option entirely. For clarity, explicitly pass
--enable-plugins --enable-lto to configure.

No legacy handling is added for the removed option. Since the behaviour
hasn't actually changed (independently of whether the option was enabled
or not), there's no point bothering the user with a legacy option.

elf2flt was linking with libdl depending on this option. Since the
option doesn't do anything, this is probably not needed. Still, to avoid
breaking things, and because linking with libdl doesn't cost us anything
anyway, always link with libdl.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-07-26 21:56:31 +02:00
..
8.4.0 package/gcc: disable split-stack for non-thread builds for gcc powerpc spe 2022-07-26 18:46:19 +02:00
10.3.0 package/gcc: disable split-stack for non-thread builds 2022-07-25 14:29:18 +02:00
11.3.0 package/gcc: disable split-stack for non-thread builds 2022-07-25 14:29:18 +02:00
12.1.0 package/gcc: disable split-stack for non-thread builds 2022-07-25 14:29:18 +02:00
arc-2020.09-release
gcc-final
gcc-initial
Config.in.host package/gcc: remove BR2_GCC_ENABLE_LTO 2022-07-26 21:56:31 +02:00
gcc.hash package/gcc: remove gcc 9.x 2022-07-23 17:31:28 +02:00
gcc.mk package/gcc: remove BR2_GCC_ENABLE_LTO 2022-07-26 21:56:31 +02:00