From 7a97588bc6ae70a134456833d4d489148e38a5aa Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 21 Feb 2018 20:31:05 +0100 Subject: 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 --- toolchain/gcc/Config.version | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'toolchain/gcc/Config.version') diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index b641cfeb4e..2fc50827d2 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -2,9 +2,14 @@ config GCC_VERSION_7_1_ARC default y if (!TOOLCHAINOPTS && arc) bool +config GCC_VERSION_7 + default y if GCC_USE_VERSION_7 + default y if x86_64 || i386 + bool + config GCC_VERSION string default "arc-2017.09-release" if GCC_VERSION_7_1_ARC default "6.3.0" if GCC_USE_VERSION_6 - default "7.3.0" if GCC_USE_VERSION_7 + default "7.3.0" if GCC_VERSION_7 default "5.5.0" -- cgit v1.2.3