aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-02-27 09:00:52 +0100
committerFelix Fietkau <nbd@nbd.name>2018-02-27 09:01:01 +0100
commit1198204a6ffedecd38413cf9aaf014c19d627ab5 (patch)
tree408db0c703a518b8b76c92dc910b6f1bc6c30bb3 /toolchain/gcc
parenta49f6565b34c7defbe66cd03c2cb04752ec4dbe6 (diff)
downloadupstream-1198204a6ffedecd38413cf9aaf014c19d627ab5.tar.gz
upstream-1198204a6ffedecd38413cf9aaf014c19d627ab5.tar.bz2
upstream-1198204a6ffedecd38413cf9aaf014c19d627ab5.zip
toolchain: fix selecting older gcc versions for x86
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.version3
1 files changed, 2 insertions, 1 deletions
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