diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-26 14:52:08 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-26 14:59:22 +0000 |
commit | 8e880181f2cb365c80f0b05ac452710ece8a9d0c (patch) | |
tree | 57089129e30a1ae448fb2720ae32bd46e67decc6 /elements/gnu-toolchain/stage1-binutils.bst | |
parent | db515d743345d183312cfb1af19153b3b8a78ece (diff) | |
download | definitions-8e880181f2cb365c80f0b05ac452710ece8a9d0c.tar.gz |
Disable debug section compression in stage3
The objcopy tool that we built in stage2 doesn't have zlib support, so
it can't handle the `--compress-debug-sections` flag that BuildStream
passes by default.
Diffstat (limited to 'elements/gnu-toolchain/stage1-binutils.bst')
-rw-r--r-- | elements/gnu-toolchain/stage1-binutils.bst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/elements/gnu-toolchain/stage1-binutils.bst b/elements/gnu-toolchain/stage1-binutils.bst index 72d51bcb..a1a27326 100644 --- a/elements/gnu-toolchain/stage1-binutils.bst +++ b/elements/gnu-toolchain/stage1-binutils.bst @@ -36,3 +36,7 @@ config: --host=$(sh config.guess) \ --target=%{target-stage1} \ --with-sysroot=/nonexistentdir --with-lib-path="=%{prefix}/lib:=%{prefix}/lib64" + + strip-commands: + - | + %{stage3-strip-binaries} |