]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: Lift linker requirements
authorJan Janssen <medhefgo@web.de>
Fri, 22 Sep 2023 12:41:47 +0000 (14:41 +0200)
committerJan Janssen <medhefgo@web.de>
Fri, 29 Sep 2023 14:56:30 +0000 (16:56 +0200)
commit0b042d3de8e88effcd48255e4f17fa72ac2816bd
treeefd64cea46f8da2a41ca0f620e442d3fd4095327
parent898e9edc469f87fdb6018128bac29eef0a5fe698
boot: Lift linker requirements

The biggest reason for forcing bfd was the use of linker scrips. Since
we don't rely on those anymore we can lift the requirement.

The biggest issue is gold as it does not understand -static-pie. Given
that it's pretty much on life support it's safe to just declare it not
supported anymore.

Don't link addons with libefi as clang/lld is sometimes very eager to
include memset etc., causing needless binary bloat and link errors with
LTO.

Fixes: #29165
src/boot/efi/meson.build