[OpenWrt-Devel] [PATCHv2] toolchain: Don't force GCC8 on ARC

Rosen Penev rosenp at gmail.com
Wed Jul 3 16:16:51 EDT 2019


When selecting GCC9 under Advanced options, GCC8 still gets selected.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 v2: Allow selecting GCC9 but not 7 and below
 toolchain/gcc/Config.version | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index ef9bbb82e2..2a9dc289db 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -4,7 +4,7 @@ config GCC_VERSION_5
 
 config GCC_VERSION_8
 	default y if GCC_USE_VERSION_8
-	default y if arc
+	default y if arc && !GCC_USE_VERSION_9
 	bool
 
 config GCC_VERSION_9
-- 
2.17.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list