[2/2] make.sh: aarch64: Enable all branch protection methods

Message ID 20230711132719.785979-2-michael.tremer@ipfire.org
State Staged
Commit dfedf913bc9669f2a138baeecb938115308b9f4b
Headers
Series [1/2] make.sh: x86_64: Enable CET full |

Commit Message

Michael Tremer July 11, 2023, 1:27 p.m. UTC
  At this time, this will enable return address signing, and branch target
identification.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 make.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/make.sh b/make.sh
index f07604073..7c279b197 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)