Toolchain: Strip cc1

This commit is contained in:
Nico Weber 2020-07-29 09:22:02 -04:00 committed by Andreas Kling
parent f128d3baf7
commit 06c59cce6f

View file

@ -280,7 +280,7 @@ pushd "$DIR"
# We *most definitely* don't need debug symbols in the linker/compiler.
# This cuts the uncompressed size from 1.2 GiB per Toolchain down to about 250 MiB.
pushd "Local/libexec/gcc/i686-pc-serenity/${GCC_VERSION}"
for binary in cc1plus lto1; do
for binary in cc1 cc1plus lto1; do
echo "Before: $(du -h "${binary}")"
strip "${binary}"
echo "After: $(du -h "${binary}")"