mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-23 03:51:03 +01:00
When doing LTO builds, the target related CFLAGS need to be passed to the linker, so that they are considered for target code generation. Pass TARGET_CFLAGS in EXTRA_LDFLAGS to ensure that this is handled properly. Fixes: #17200 Signed-off-by: Felix Fietkau <nbd@nbd.name>