aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Config.in
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-02-21 20:31:05 +0100
committerFelix Fietkau <nbd@nbd.name>2018-02-21 20:57:30 +0100
commit7a97588bc6ae70a134456833d4d489148e38a5aa (patch)
tree81fa77db80f3576055f80d55844f9faddbf798da /toolchain/gcc/Config.in
parent65ae02d6024e647bafb44bcf3f73f6318c452032 (diff)
downloadupstream-7a97588bc6ae70a134456833d4d489148e38a5aa.tar.gz
upstream-7a97588bc6ae70a134456833d4d489148e38a5aa.tar.bz2
upstream-7a97588bc6ae70a134456833d4d489148e38a5aa.zip
toolchain/gcc: use version 7.x for x86 by default
This is needed for retpoline support, which mitigates the spectre attacks. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gcc/Config.in')
-rw-r--r--toolchain/gcc/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 30ac137873..1456985cc2 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -3,6 +3,7 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_USE_VERSION_7_1_ARC if arc
+ default GCC_USE_VERSION_7 if x86_64 || i386
default GCC_USE_VERSION_5
help
Select the version of gcc you wish to use.