From 840f0b9fc256611287e4e3cd4cb32e96d749aeed Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 10 Feb 2018 13:30:58 +0000 Subject: [PATCH] Revert "make.sh: Add -fstack-clash-protection on platforms that support it" This reverts commit 18b82970b81a5bbd31b8922440a97e43d6f01566. Signed-off-by: Michael Tremer --- make.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5