bitcoin/depends/hosts
fanquake 2d1b1c7dae
build: remove --enable-lto
This has outlived its usefulness, doesn't gel well with
newer compilers & `-flto` related options, i.e thin vs full, or `=auto`,
and having `-flto` as the only option means that sometimes this just
needs to be worked around, i.e in oss-fuzz:
https://github.com/google/oss-fuzz/blob/master/projects/bitcoin-core/build.sh.

While it was convenient when `-flto` was newer, support for `-flto` is now
in all compilers we use, and there's also no-longer any real need
for us to treat `-flto` different to any other optimization option.

Remove it, to remove build complexity, and so there's no need
to port a similar option to CMake.

Note that the LTO option remains in depends, because we still a way to
build packages that have LTO specific patches/options.

If we decide to merge this, I'll follow up downstream in oss-fuzz first,
to make sure we don't break the build.
2024-01-05 15:17:50 +00:00
..
android.mk build: remove --enable-lto 2024-01-05 15:17:50 +00:00
darwin.mk build: remove --enable-lto 2024-01-05 15:17:50 +00:00
default.mk Merge bitcoin/bitcoin#23619: build: Propagate user-defined flags to host packages 2023-01-30 14:32:32 +00:00
freebsd.mk build: remove --enable-lto 2024-01-05 15:17:50 +00:00
linux.mk build: remove --enable-lto 2024-01-05 15:17:50 +00:00
mingw32.mk build: remove --enable-lto 2024-01-05 15:17:50 +00:00
netbsd.mk build: remove --enable-lto 2024-01-05 15:17:50 +00:00
openbsd.mk build: remove --enable-lto 2024-01-05 15:17:50 +00:00