]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
make.sh: aarch64: Enable all branch protection methods cet
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Jul 2023 09:22:36 +0000 (09:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Jul 2023 09:24:11 +0000 (09:24 +0000)
At this time, this will enable return address signing, and branch target
identification.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index f0760407395a6284e55cbb37a4289add58e8d6fa..7c279b19710247fe55be4fde8b8e595ec296ce9f 100755 (executable)
--- 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)