From: Michael Tremer Date: Tue, 1 Nov 2022 13:21:30 +0000 (+0000) Subject: macros: Disable -fstack-clash-protection on aarch64 X-Git-Tag: 0.9.28~160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b76954131f2581ca4d05b761b6b3897f562313dc;p=pakfire.git macros: Disable -fstack-clash-protection on aarch64 The bootstrap toolchain is too old and does not support this. Signed-off-by: Michael Tremer --- 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