aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Config.version
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-10-11 10:37:02 +0200
committerFelix Fietkau <nbd@nbd.name>2019-10-11 10:37:08 +0200
commit33dd522f241f8a471bbf2c06dd1afeb63d77f9d1 (patch)
treea6088095b89101f640fa20fb63498461309cfde8 /toolchain/gcc/Config.version
parent7a8bcf36c731bbe30f35345c222782e154cb7674 (diff)
downloadupstream-33dd522f241f8a471bbf2c06dd1afeb63d77f9d1.tar.gz
upstream-33dd522f241f8a471bbf2c06dd1afeb63d77f9d1.tar.bz2
upstream-33dd522f241f8a471bbf2c06dd1afeb63d77f9d1.zip
build: fix menuconfig submenu sorting for gcc options
The hidden symbol GCC_USE_IREMAP was breaking it, move it to Config.version instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gcc/Config.version')
-rw-r--r--toolchain/gcc/Config.version5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 0658f3d52b..687857bd1f 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -16,3 +16,8 @@ config GCC_VERSION
default "7.4.0" if GCC_VERSION_7
default "9.2.0" if GCC_VERSION_9
default "8.3.0"
+
+config GCC_USE_IREMAP
+ bool
+ default y if ( GCC_USE_VERSION_5 || GCC_USE_VERSION_7 )
+ default n