mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Revert "make.sh: Add -fstack-clash-protection on platforms that support it"
This reverts commit 18b82970b81a5bbd31b8922440a97e43d6f01566. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
6
make.sh
6
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)
|
||||
|
||||
Reference in New Issue
Block a user