diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-24 23:52:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-26 10:44:27 +0000 |
commit | 1d75635ac53589beccdcb72138bfcd28d82d8d14 (patch) | |
tree | 69727d0d9fae9f8a9dfcf73cdc200b57472d6ba7 /meta/recipes-devtools/gcc/gcc_6.3.bb | |
parent | 42ed1d8ac9799e41544c2da93069ecc6f86cbded (diff) | |
download | poky-1d75635ac53589beccdcb72138bfcd28d82d8d14.tar.gz |
gcc/gcc-source: Move libcc1 manipulation into gcc-source
Currently there is a race where if you build -cross-canadian without building gcc (target)
you see QA errors about RPATHS. I've tracked this down to this manipulation where the
target gcc recipe changes libcc1 in the shared sources directory. As long as you build
things in the right order, the problem doesn't occur.
Since its changing ${S} move it to gcc-source and avoid the race, saving RP
some head scratching about why unrelated changes failed to build cleanly.
(From OE-Core rev: 626064c69b6fd1b5cead6995097f99e5fbda3f19)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc_6.3.bb')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc_6.3.bb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gcc/gcc_6.3.bb b/meta/recipes-devtools/gcc/gcc_6.3.bb index b0a523cae2..2c618dfb93 100644 --- a/meta/recipes-devtools/gcc/gcc_6.3.bb +++ b/meta/recipes-devtools/gcc/gcc_6.3.bb | |||
@@ -6,10 +6,4 @@ require gcc-target.inc | |||
6 | # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output | 6 | # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output |
7 | ARM_INSTRUCTION_SET_armv4 = "arm" | 7 | ARM_INSTRUCTION_SET_armv4 = "arm" |
8 | 8 | ||
9 | do_configure_prepend() { | ||
10 | # Easiest way to stop bad RPATHs getting into the library since we have a | ||
11 | # broken libtool here | ||
12 | sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' ${S}/libcc1/configure | ||
13 | } | ||
14 | |||
15 | BBCLASSEXTEND = "nativesdk" | 9 | BBCLASSEXTEND = "nativesdk" |