From 8e880181f2cb365c80f0b05ac452710ece8a9d0c Mon Sep 17 00:00:00 2001
From: Sam Thursfield <sam.thursfield@codethink.co.uk>
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/gawk.bst | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'elements/gnu-toolchain/gawk.bst')

diff --git a/elements/gnu-toolchain/gawk.bst b/elements/gnu-toolchain/gawk.bst
index 7a612bfd..d00bd6d8 100644
--- a/elements/gnu-toolchain/gawk.bst
+++ b/elements/gnu-toolchain/gawk.bst
@@ -18,3 +18,7 @@ environment:
 config:
   configure-commands:
   - ./configure --prefix="%{prefix}" --disable-nls
+
+  strip-commands:
+  - |
+    %{stage3-strip-binaries}
-- 
cgit v1.2.1

