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/ccache.bst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'elements/gnu-toolchain/ccache.bst') diff --git a/elements/gnu-toolchain/ccache.bst b/elements/gnu-toolchain/ccache.bst index f66a37ca..7e435476 100644 --- a/elements/gnu-toolchain/ccache.bst +++ b/elements/gnu-toolchain/ccache.bst @@ -26,3 +26,7 @@ config: done - for cc in gcc cc g++ c++; do ln -sf "%{prefix}/bin/ccache" "%{install-root}%{prefix}/lib/ccache/%{target}-$cc"; done + + strip-commands: + - | + %{stage3-strip-binaries} -- cgit v1.2.1