From dfedf913bc9669f2a138baeecb938115308b9f4b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 11 Jul 2023 13:27:19 +0000 Subject: [PATCH] make.sh: aarch64: Enable all branch protection methods At this time, this will enable return address signing, and branch target identification. Signed-off-by: Michael Tremer --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 1d357fb5a3..d41e6bd6bf 100755 --- a/make.sh +++ b/make.sh @@ -152,7 +152,7 @@ configure_build() { BUILDTARGET="${build_arch}-pc-linux-gnu" CROSSTARGET="${build_arch}-cross-linux-gnu" BUILD_PLATFORM="arm" - CFLAGS_ARCH="" + CFLAGS_ARCH="-mbranch-protection=standard" ;; riscv64) -- 2.39.2