From: Michael Tremer Date: Sat, 10 Feb 2018 13:30:58 +0000 (+0000) Subject: Revert "make.sh: Add -fstack-clash-protection on platforms that support it" X-Git-Tag: v2.19-core120~135 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=840f0b9fc256611287e4e3cd4cb32e96d749aeed Revert "make.sh: Add -fstack-clash-protection on platforms that support it" This reverts commit 18b82970b81a5bbd31b8922440a97e43d6f01566. Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 5767ae8f33..172ba3209d 100755 --- a/make.sh +++ b/make.sh @@ -144,21 +144,21 @@ configure_build() { BUILDTARGET="${build_arch}-unknown-linux-gnu" CROSSTARGET="${build_arch}-cross-linux-gnu" BUILD_PLATFORM="x86" - CFLAGS_ARCH="-m64 -mindirect-branch=thunk -mfunction-return=thunk -mtune=generic -fstack-clash-protection" + CFLAGS_ARCH="-m64 -mindirect-branch=thunk -mfunction-return=thunk -mtune=generic" ;; i586) BUILDTARGET="${build_arch}-pc-linux-gnu" CROSSTARGET="${build_arch}-cross-linux-gnu" BUILD_PLATFORM="x86" - CFLAGS_ARCH="-march=i586 -mindirect-branch=thunk -mfunction-return=thunk -mtune=generic -fomit-frame-pointer -fstack-clash-protection" + CFLAGS_ARCH="-march=i586 -mindirect-branch=thunk -mfunction-return=thunk -mtune=generic -fomit-frame-pointer" ;; aarch64) BUILDTARGET="${build_arch}-unknown-linux-gnu" CROSSTARGET="${build_arch}-cross-linux-gnu" BUILD_PLATFORM="arm" - CFLAGS_ARCH="-fstack-clash-protection" + CFLAGS_ARCH="" ;; armv7hl)