From: Felix Fietkau Date: Tue, 27 Feb 2018 08:00:52 +0000 (+0100) Subject: toolchain: fix selecting older gcc versions for x86 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1198204a6ffedecd38413cf9aaf014c19d627ab5;p=openwrt%2Fstaging%2Fyousong.git toolchain: fix selecting older gcc versions for x86 Signed-off-by: Felix Fietkau --- diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index 2fc50827d2..ef47fb419d 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -4,7 +4,8 @@ config GCC_VERSION_7_1_ARC config GCC_VERSION_7 default y if GCC_USE_VERSION_7 - default y if x86_64 || i386 + default y if (!TOOLCHAINOPTS && x86_64) + default y if (!TOOLCHAINOPTS && i386) bool config GCC_VERSION