]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
riscv64: Enable stack clash protection
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Feb 2021 14:49:51 +0000 (09:49 -0500)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Mar 2021 11:14:49 +0000 (11:14 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index f936326361427df0e4ade4600d3bf28617f1d15a..0feea8d46a132b05aeca4b4173f3ef487c3e695a 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -181,6 +181,7 @@ configure_build() {
                        BUILDTARGET="${build_arch}-unknown-linux-gnu"
                        CROSSTARGET="${build_arch}-cross-linux-gnu"
                        BUILD_PLATFORM="riscv"
+                       CFLAGS_ARCH="-fstack-clash-protection"
                        ;;
 
                *)