]> git.ipfire.org Git - thirdparty/openwrt.git/commit
readline: add $(FPIC) to LDFLAGS 21455/head
authorAnari Jalakas <anari.jalakas@gmail.com>
Thu, 8 Jan 2026 10:11:47 +0000 (12:11 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 11 Jan 2026 17:49:55 +0000 (18:49 +0100)
commit4ff0f496a4204b01991bcc804217da9fc2e8bb49
treec53fa1eb62ec8a9c6557aa1588a36627363cc981
parentee60b65643984509363a2157d7df763485995d46
readline: add $(FPIC) to LDFLAGS

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

Fixes: #20436
Signed-off-by: Anari Jalakas <anari.jalakas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21455
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/libs/readline/Makefile