toolchain: ARM: Fix toolchain compilation for gcc 8.x
[openwrt/staging/mkresin.git] / toolchain / gcc / Config.version
index 27aa20cb394a99d612b652af590db0a86003b60f..74d96a7a6620eff46d0f0644efb2981866aba7b8 100644 (file)
@@ -1,13 +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 "6.2.0"         if GCC_USE_VERSION_6
-       default "5.4.0"
+config GCC_VERSION_8
+       default y if GCC_USE_VERSION_8
+       default y if arc
+       bool
 
-config GCC_VERSION_4_8
+config GCC_USE_EMBEDDED_PATH_REMAP
+       default y if GCC_VERSION_8
+       default n
        bool
-       default y       if GCC_VERSION_4_8_ARC
+
+config GCC_VERSION
+       string
+       default "5.5.0"         if GCC_VERSION_5
+       default "8.3.0"         if GCC_VERSION_8
+       default "7.4.0"