]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
macros: Disable -fstack-clash-protection on aarch64
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Nov 2022 13:21:30 +0000 (13:21 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Nov 2022 13:21:30 +0000 (13:21 +0000)
The bootstrap toolchain is too old and does not support this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
macros/cflags.macro

index 525901e19f5e6afff5d117969654ba08bce5b8f2..f82e84cc9901670a5da4c5f0ab5fb8a246ba2859 100644 (file)
@@ -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