diff options
author | Matt Madison <matt@madison.systems> | 2017-10-04 18:21:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-07 23:20:39 +0100 |
commit | 39da5f3e13afe13fe7585949d4f4b41bcb410b09 (patch) | |
tree | ab56f3602538f9c8315d41af8366c17c5c1f45f3 /meta/conf/layer.conf | |
parent | b2646b5cf7850716e24ad18da1f6c27f369cb16d (diff) | |
download | poky-39da5f3e13afe13fe7585949d4f4b41bcb410b09.tar.gz |
go-runtime: prevent host leakage into target objects
When building for a target whose architecture matches
the build host's, the second pass through make.bash
to build the shareable runtime would also overwrite
the target's static cgo library with host-compatibile
binaries.
Fix this by running the host-side build once and
target-only passes of make.bash twice, for static
and shareable. This ensures that what gets installed
is target-compatible.
Also fix an issue with x86-64 targets running MUSL by
removing the pre-built (for glibc) objects for the
race detector runtime before building.
[YOCTO #12136]
(From OE-Core rev: 070f4af529c84a3c8c0b1ffc7b138bdd9e8439b7)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/layer.conf')
0 files changed, 0 insertions, 0 deletions