diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-03-18 05:01:43 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-20 22:57:59 +0000 |
commit | 5e3dd820df41ab032893497a9ccea2160c07fe66 (patch) | |
tree | 1a0ceac9142cea5d4a8ee61b29acfd0200ebd67b /meta/recipes-devtools/gcc/gcc-5.3.inc | |
parent | 791eec016792c3f4c04b12ae6ff93c1e23266f87 (diff) | |
download | openembedded-core-contrib-5e3dd820df41ab032893497a9ccea2160c07fe66.tar.gz |
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 <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.3.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.3.inc b/meta/recipes-devtools/gcc/gcc-5.3.inc index 0bf9f5552d..4861cfcb71 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 = "" |