toolchain/nasm: Backport GCC8 compatibility fix from upstream repo
[openwrt/openwrt.git] / toolchain / gcc / Config.version
index 56de0d7bd46e2aa1e4ae7f0b74e59d6f3b3d28cf..616b6bbe35e2be6027b5be489a2175c1d9a97cc2 100644 (file)
@@ -1,30 +1,13 @@
-config GCC_VERSION_4_6_LINARO
-       default y if (!TOOLCHAINOPTS && TARGET_octeon)
+config GCC_VERSION_7_1_ARC
+       default y if (!TOOLCHAINOPTS && arc)
        bool
 
-config GCC_VERSION_4_8_LINARO
-       default y if (!TOOLCHAINOPTS && !TARGET_octeon)
-       bool
-
-config GCC_VERSION_4_9_LINARO
+config GCC_VERSION_5
+       default y if GCC_USE_VERSION_5
        bool
 
 config GCC_VERSION
        string
-       default "4.6.3"     if GCC_VERSION_4_6_3
-       default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
-       default "4.8-linaro"    if GCC_VERSION_4_8_LINARO
-       default "4.9-linaro"    if GCC_VERSION_4_9_LINARO
-       default "4.6-linaro"
-
-config GCC_VERSION_4_6
-       bool
-       default y       if GCC_VERSION_4_6_LINARO
-
-config GCC_VERSION_4_8
-       bool
-       default y       if GCC_VERSION_4_8_LINARO
-
-config GCC_VERSION_4_9
-       bool
-       default y       if GCC_VERSION_4_9_LINARO
+       default "5.5.0"         if GCC_VERSION_5
+       default "arc-2017.09-release"   if GCC_VERSION_7_1_ARC
+       default "7.3.0"