From bd4d3cd1017feb469efa3112d2f92408a420be35 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Wed, 9 Oct 2019 06:41:00 +0200 Subject: toolchain,build: prefer -ffile-prefix-map for gcc-8+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -ffile-prefix-map=OLD=NEW is an alias for both -fdebug-prefix-map and -fmacro-prefix-map and is available since GCC 8. Co-Developed-by: Andre Heider Signed-off-by: Andre Heider Signed-off-by: Paul Spooren [refactored into separate commit] Signed-off-by: Petr Štetiar --- toolchain/gcc/Config.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'toolchain/gcc/Config.in') diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 0977f9b4e7..2c592a904b 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -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 -- cgit v1.2.3