From a556036ade4d01e8c62963c0c5425b7c3e5f4353 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Fri, 9 Jan 2026 16:20:52 +0100 Subject: [PATCH 1001/1002] [2.13] rk3399: m0: LDFLAGS `-no-pie` - since M0_LDFLAGS are not honored anymore --- plat/rockchip/rk3399/drivers/m0/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/rockchip/rk3399/drivers/m0/Makefile b/plat/rockchip/rk3399/drivers/m0/Makefile index 2bc87ae18..743043858 100644 --- a/plat/rockchip/rk3399/drivers/m0/Makefile +++ b/plat/rockchip/rk3399/drivers/m0/Makefile @@ -30,7 +30,7 @@ CFLAGS := -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-common # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 CFLAGS += $(call cc_option, --param=min-pagesize=0) ASFLAGS := -Wa,--gdwarf-2 -Wa,--fatal-warnings -LDFLAGS := -Wl,--gc-sections -Wl,--build-id=none -Wl,--fatal-warnings -z noexecstack +LDFLAGS := -no-pie -Wl,--gc-sections -Wl,--build-id=none -Wl,--fatal-warnings -z noexecstack LDFLAGS += $(call ld_option,-Xlinker --no-warn-rwx-segments) # NOTE: The line continuation '\' is required in the next define otherwise we -- 2.52.0