From 5e3dd820df41ab032893497a9ccea2160c07fe66 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Fri, 18 Mar 2016 05:01:43 -0400 Subject: gcc-5.3/gcc-4.9:replace build path with target path in __FILE__ Similar -fdebug-prefix-map, add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE (). With this patch, it fixes build path issue which caused by __FILE__. We do not need to use relative path to compile any more. [YOCTO #7058] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 Signed-off-by: Hongxu Jia Signed-off-by: Ross Burton --- meta/recipes-devtools/gcc/gcc-5.3.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/gcc/gcc-5.3.inc') diff --git a/meta/recipes-devtools/gcc/gcc-5.3.inc b/meta/recipes-devtools/gcc/gcc-5.3.inc index 0bf9f5552d7..4861cfcb71c 100644 --- a/meta/recipes-devtools/gcc/gcc-5.3.inc +++ b/meta/recipes-devtools/gcc/gcc-5.3.inc @@ -83,6 +83,7 @@ SRC_URI = "\ file://0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch \ file://0052-nios2-use-ret-with-r31.patch \ file://0053-expr.c-PR-target-65358-Avoid-clobbering-partial-argu.patch \ + file://0054-support-ffile-prefix-map.patch \ " BACKPORTS = "" -- cgit 1.2.3-korg