From: Arne Fitzenreiter Date: Thu, 24 Sep 2020 05:38:56 +0000 (+0200) Subject: make.sh fix i586 code generation. X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=cf58f6593148f55b2016e2a18af75925271ef1b7 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 --- 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)