toolchain: ARM: Fix toolchain compilation for gcc 8.x
[openwrt/staging/mkresin.git] / toolchain / gcc / Config.version
index 30df7235a412bb82a20a92467d0c57280dbbebfb..74d96a7a6620eff46d0f0644efb2981866aba7b8 100644 (file)
@@ -1,16 +1,19 @@
-config GCC_VERSION_4_8_ARC
-       default y if (!TOOLCHAINOPTS && arc)
+config GCC_VERSION_5
+       default y if GCC_USE_VERSION_5
        bool
 
-config GCC_VERSION
-       string
-       default "arc-2016.03"   if GCC_VERSION_4_8_ARC
-       default "5.4.0"
-
-config GCC_VERSION_4_8
+config GCC_VERSION_8
+       default y if GCC_USE_VERSION_8
+       default y if arc
        bool
-       default y       if GCC_VERSION_4_8_ARC
 
-config GCC_VERSION_5
-       default y if (!TOOLCHAINOPTS && !arc)
+config GCC_USE_EMBEDDED_PATH_REMAP
+       default y if GCC_VERSION_8
+       default n
        bool
+
+config GCC_VERSION
+       string
+       default "5.5.0"         if GCC_VERSION_5
+       default "8.3.0"         if GCC_VERSION_8
+       default "7.4.0"