mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-28 01:30:37 +04:00
Pass $(FPIC) to the linker driver so GCC generates position-independent code during LTO. This fixes MIPS relocation errors when linking libbz2.so. Signed-off-by: Anari Jalakas <anari.jalakas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/26933 Signed-off-by: Robert Marko <robimarko@gmail.com>