From b76954131f2581ca4d05b761b6b3897f562313dc Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 1 Nov 2022 13:21:30 +0000 Subject: [PATCH] macros: Disable -fstack-clash-protection on aarch64 The bootstrap toolchain is too old and does not support this. Signed-off-by: Michael Tremer --- macros/cflags.macro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macros/cflags.macro b/macros/cflags.macro index 525901e19..f82e84cc9 100644 --- a/macros/cflags.macro +++ b/macros/cflags.macro @@ -6,7 +6,8 @@ GLOBAL_CFLAGS += -grecord-gcc-switches -fdebug-prefix-map=%{DIR_SRC}=%{debugsou CFLAGS_i686 = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables CFLAGS_x86_64 = -m64 -mtune=generic -CFLAGS_aarch64 = -fstack-clash-protection +# Disabled for now because the version of GCC we have does not support this switch +#CFLAGS_aarch64 = -fstack-clash-protection CFLAGS_armv5tel = -march=armv5te -mfloat-abi=soft CFLAGS_armv7hl = -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -mthumb -- 2.39.5