toolchain,build: prefer -ffile-prefix-map for gcc-8+
[openwrt/openwrt.git] / toolchain / gcc / Config.in
index 0977f9b4e725729dbb6ebae437aad3dfc00e33a0..2c592a904b72e5bf786b03ed3a532be93ff40c70 100644 (file)
@@ -22,6 +22,11 @@ choice
                bool "gcc 9.x"
 endchoice
 
+config GCC_USE_IREMAP
+       default y if ( GCC_USE_VERSION_5 || GCC_USE_VERSION_7 )
+       default n
+       bool
+
 config GCC_USE_GRAPHITE
        bool
        prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS