From 8e880181f2cb365c80f0b05ac452710ece8a9d0c Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 26 Oct 2017 14:52:08 +0000 Subject: 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. --- elements/gnu-toolchain/binutils.bst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'elements/gnu-toolchain/binutils.bst') diff --git a/elements/gnu-toolchain/binutils.bst b/elements/gnu-toolchain/binutils.bst index 5983c465..0548af41 100644 --- a/elements/gnu-toolchain/binutils.bst +++ b/elements/gnu-toolchain/binutils.bst @@ -22,3 +22,7 @@ config: - | ./configure --prefix="%{prefix}" --disable-nls --disable-werror \ --with-system-zlib + + strip-commands: + - | + %{stage3-strip-binaries} -- cgit v1.2.1