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 23:12:30 +0000 |
commit | 2faa718c8b6f4847237e31b67b3c3fd4fab7ff44 (patch) | |
tree | 09a92cfcddad7622d762dd419a0af9212e33a458 /meta/recipes-devtools/gcc/gcc-4.9.inc | |
parent | 76f10fd0469805553153684bc64c9120ea8ffd11 (diff) | |
download | poky-2faa718c8b6f4847237e31b67b3c3fd4fab7ff44.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
(From OE-Core rev: 5e3dd820df41ab032893497a9ccea2160c07fe66)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.9.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index 641249037e..22783b2dc0 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc | |||
@@ -87,6 +87,7 @@ SRC_URI = "\ | |||
87 | file://0069-musl-no-fixincludes.patch \ | 87 | file://0069-musl-no-fixincludes.patch \ |
88 | file://0070-libstdc-musl.patch \ | 88 | file://0070-libstdc-musl.patch \ |
89 | file://0071-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch \ | 89 | file://0071-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch \ |
90 | file://0072-support-ffile-prefix-map.patch \ | ||
90 | " | 91 | " |
91 | SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327" | 92 | SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327" |
92 | SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e" | 93 | SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e" |