summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/gcc.bst
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-26 14:52:08 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-26 14:59:22 +0000
commit8e880181f2cb365c80f0b05ac452710ece8a9d0c (patch)
tree57089129e30a1ae448fb2720ae32bd46e67decc6 /elements/gnu-toolchain/gcc.bst
parentdb515d743345d183312cfb1af19153b3b8a78ece (diff)
downloaddefinitions-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/gcc.bst')
-rw-r--r--elements/gnu-toolchain/gcc.bst4
1 files changed, 4 insertions, 0 deletions
diff --git a/elements/gnu-toolchain/gcc.bst b/elements/gnu-toolchain/gcc.bst
index e9a54834..5c43ca24 100644
--- a/elements/gnu-toolchain/gcc.bst
+++ b/elements/gnu-toolchain/gcc.bst
@@ -65,3 +65,7 @@ config:
for fortran_alias in f77 f90 f95; do
ln -s gfortran "%{install-root}%{prefix}/bin/$fortran_alias"
done
+
+ strip-commands:
+ - |
+ %{stage3-strip-binaries}