toolchain,build: prefer -ffile-prefix-map for gcc-8+
[openwrt/staging/wigyori.git] / toolchain / gcc / Config.version
index b641cfeb4e89589e405295dced458b8db6daf5c9..fd8d3873fa8ebb925332b2779f794642f37fb382 100644 (file)
@@ -1,10 +1,19 @@
-config GCC_VERSION_7_1_ARC
-       default y if (!TOOLCHAINOPTS && arc)
+config GCC_VERSION_5
+       default y if GCC_USE_VERSION_5
+       bool
+
+config GCC_VERSION_8
+       default y if GCC_USE_VERSION_8
+       default y if arc && !GCC_USE_VERSION_9
+       bool
+
+config GCC_VERSION_9
+       default y if GCC_USE_VERSION_9
        bool
 
 config GCC_VERSION
        string
-       default "arc-2017.09-release"   if GCC_VERSION_7_1_ARC
-       default "6.3.0"         if GCC_USE_VERSION_6
-       default "7.3.0"         if GCC_USE_VERSION_7
-       default "5.5.0"
+       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"