]> git.ipfire.org Git - thirdparty/openwrt.git/commit
readline: add $(FPIC) to LDFLAGS
authorAnari Jalakas <anari.jalakas@gmail.com>
Thu, 8 Jan 2026 10:11:47 +0000 (12:11 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 12 Jan 2026 23:23:38 +0000 (00:23 +0100)
commit33ef80f2c6b9b80d5acfcf8023ef39e7ac11469f
treef429f6befe5d52b4831e74d767a89582074d7584
parentb413363b475a08a14ccb87dce22185d3af73c08e
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>
(cherry picked from commit 4ff0f496a4204b01991bcc804217da9fc2e8bb49)
package/libs/readline/Makefile