toolchain: ARM: Fix toolchain compilation for gcc 8.x
[openwrt/staging/mkresin.git] / toolchain / gcc / Config.version
index 167f4316b4d39ed7229c150d6bf29e98e1f13a47..74d96a7a6620eff46d0f0644efb2981866aba7b8 100644 (file)
@@ -1,14 +1,19 @@
-config GCC_VERSION_6_2_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.09-release"   if GCC_VERSION_6_2_ARC
-       default "6.3.0"         if GCC_USE_VERSION_6
-       default "7.1.0"         if GCC_USE_VERSION_7
-       default "5.4.0"
+config GCC_VERSION_8
+       default y if GCC_USE_VERSION_8
+       default y if arc
+       bool
 
-config GCC_VERSION_6_2
+config GCC_USE_EMBEDDED_PATH_REMAP
+       default y if GCC_VERSION_8
+       default n
        bool
-       default y       if GCC_VERSION_6_2_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"