From cf58f6593148f55b2016e2a18af75925271ef1b7 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 24 Sep 2020 07:38:56 +0200 Subject: [PATCH] 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 --- make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index 2a6198e05b..ab90e51433 100755 --- a/make.sh +++ b/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) -- 2.39.2