diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-07-22 14:48:07 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-07-22 14:48:07 +0000 |
commit | 95b848f2198018b44e44f3526a9de67a3c89c3c7 (patch) | |
tree | f9207787606034cd92bf12fe2e682a41b3af5f6b /recipes-containers/docker | |
parent | 37a554a2491499aabc88959348544e325e533f71 (diff) | |
download | meta-virtualization-95b848f2198018b44e44f3526a9de67a3c89c3c7.tar.gz |
containers/go/build: don't override global package strip flags
When the go-lang container recipes were first created there were issues
with strip and the resulting binaries. As such, strip was inhibited for
the various packages.
This variable is now set in the default classes, and tests show that
strip works on the binaries (saving up to 2M on disk for some binaries)
with no runtime issues found.
So we drop our explicit set of the inhibit and let the build proceed
by the defaults.
If issues are found, we can re-enable the setting or bbappends can
turn it back on for builds showing issues.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/docker')
-rw-r--r-- | recipes-containers/docker/docker.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index eacaf7f4..149ca824 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc | |||
@@ -52,6 +52,4 @@ GROUPADD_PARAM_${PN} = "-r docker" | |||
52 | 52 | ||
53 | COMPATIBLE_HOST = "^(?!(qemu)?mips).*" | 53 | COMPATIBLE_HOST = "^(?!(qemu)?mips).*" |
54 | 54 | ||
55 | # DO NOT STRIP docker | ||
56 | INHIBIT_PACKAGE_STRIP = "1" | ||
57 | INSANE_SKIP_${PN} += "ldflags textrel" | 55 | INSANE_SKIP_${PN} += "ldflags textrel" |