]> git.ipfire.org Git - thirdparty/openwrt.git/commit
elfutils: add $(FPIC) to LDFLAGS 24051/head
authorAnari Jalakas <anari.jalakas@gmail.com>
Fri, 3 Jul 2026 09:10:02 +0000 (12:10 +0300)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 6 Jul 2026 13:26:29 +0000 (15:26 +0200)
commit1d206717c57f0b3af9e0f9ef7888422836164830
tree6f28fc29a91e36e66cbae75692e6849a32a8bb58
parentc16ef4f318cee471fa604096194d2ffef1d91332
elfutils: add $(FPIC) to LDFLAGS

Ensure -fPIC is passed during the linking stage to fix LTO build
failures (relocation errors) on MIPS and other architectures.

Signed-off-by: Anari Jalakas <anari.jalakas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24051
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
package/libs/elfutils/Makefile