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

Signed-off-by: Rosen Penev <[email protected]>
---
 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
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to