mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
make.sh fix i586 code generation.
-fcf-protection insert non i586 instructions that crash on amd k6 and geode to build a working glibc also the toolchain compiler must build without this so this need a new toolchain. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
4
make.sh
4
make.sh
@@ -39,7 +39,7 @@ GIT_BRANCH="$(git rev-parse --abbrev-ref HEAD)" # Git Branch
|
||||
GIT_TAG="$(git tag | tail -1)" # Git Tag
|
||||
GIT_LASTCOMMIT="$(git rev-parse --verify HEAD)" # Last commit
|
||||
|
||||
TOOLCHAINVER=20200814
|
||||
TOOLCHAINVER=20200924
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
@@ -153,7 +153,7 @@ configure_build() {
|
||||
BUILDTARGET="${build_arch}-pc-linux-gnu"
|
||||
CROSSTARGET="${build_arch}-cross-linux-gnu"
|
||||
BUILD_PLATFORM="x86"
|
||||
CFLAGS_ARCH="-march=i586 -mtune=generic -fomit-frame-pointer -fcf-protection"
|
||||
CFLAGS_ARCH="-march=i586 -mtune=generic -fomit-frame-pointer"
|
||||
;;
|
||||
|
||||
aarch64)
|
||||
|
||||
Reference in New Issue
Block a user