]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
make.sh fix i586 code generation.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 24 Sep 2020 05:38:56 +0000 (07:38 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 24 Sep 2020 05:38:56 +0000 (07:38 +0200)
-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>
make.sh

diff --git a/make.sh b/make.sh
index 2a6198e05b9ef1ba79b1c8c893a075d27e67b799..ab90e5143353e30ab40afa51fa203aea323d2445 100755 (executable)
--- 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)