aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Config.version
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2019-10-01 21:15:44 -1000
committerPetr Štetiar <ynezz@true.cz>2019-10-09 09:13:44 +0200
commitd509463816bf593de841398914f0d9d68bf76458 (patch)
tree0c0197fe3ceee2d1b985536809eaffe8754a4be4 /toolchain/gcc/Config.version
parent419eff50f977cd49b8b677ec956ec2453973addb (diff)
downloadupstream-d509463816bf593de841398914f0d9d68bf76458.tar.gz
upstream-d509463816bf593de841398914f0d9d68bf76458.tar.bz2
upstream-d509463816bf593de841398914f0d9d68bf76458.zip
toolchain/gcc: switch to version 8 by default
Main motivation for this commit is the introduction of `-ffile-prefix-map=` which alows reproducible build path. Compile tested on Linux and macOS without errors on the following targets: * ath79 * imx6 * brcm2708 * brcm63xx * ixp4xx * ramips * sunxi * x86 Thanks to Andre for the iremap fixup. Ref: https://reproducible-builds.org/docs/build-path/ Tested-by: Andre Heider <a.heider@gmail.com> Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Signed-off-by: Paul Spooren <mail@aparcar.org> [refactored into separate commit] Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'toolchain/gcc/Config.version')
-rw-r--r--toolchain/gcc/Config.version9
1 files changed, 4 insertions, 5 deletions
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index fd8d3873fa..0658f3d52b 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -2,9 +2,8 @@ config GCC_VERSION_5
default y if GCC_USE_VERSION_5
bool
-config GCC_VERSION_8
- default y if GCC_USE_VERSION_8
- default y if arc && !GCC_USE_VERSION_9
+config GCC_VERSION_7
+ default y if GCC_USE_VERSION_7
bool
config GCC_VERSION_9
@@ -14,6 +13,6 @@ config GCC_VERSION_9
config GCC_VERSION
string
default "5.5.0" if GCC_VERSION_5
- default "8.3.0" if GCC_VERSION_8
+ default "7.4.0" if GCC_VERSION_7
default "9.2.0" if GCC_VERSION_9
- default "7.4.0"
+ default "8.3.0"