toolchain,build: prefer -ffile-prefix-map for gcc-8+
[openwrt/staging/wigyori.git] / toolchain / gcc / Config.version
index 8fd658e35745a8b7f1254ea9c7256ee79bb9e488..fd8d3873fa8ebb925332b2779f794642f37fb382 100644 (file)
@@ -1,30 +1,19 @@
-config GCC_VERSION_4_6_LINARO
-       default y if (!TOOLCHAINOPTS && TARGET_octeon)
+config GCC_VERSION_5
+       default y if GCC_USE_VERSION_5
        bool
 
-config GCC_VERSION_4_8_LINARO
-       default y if (!TOOLCHAINOPTS && !(TARGET_octeon || arc))
+config GCC_VERSION_8
+       default y if GCC_USE_VERSION_8
+       default y if arc && !GCC_USE_VERSION_9
        bool
 
-config GCC_VERSION_4_8_ARC
-       default y if (!TOOLCHAINOPTS && arc)
+config GCC_VERSION_9
+       default y if GCC_USE_VERSION_9
        bool
 
 config GCC_VERSION
        string
-       default "5.2.0"     if GCC_VERSION_5
-       default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
-       default "4.8-linaro"    if GCC_VERSION_4_8_LINARO
-       default "arc-2015.06"   if GCC_VERSION_4_8_ARC
-       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 || GCC_VERSION_4_8_ARC)
-
-config GCC_VERSION_5
-       bool
+       default "5.5.0"         if GCC_VERSION_5
+       default "8.3.0"         if GCC_VERSION_8
+       default "9.2.0"         if GCC_VERSION_9
+       default "7.4.0"