mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
Toolchain: Strip cc1
This commit is contained in:
parent
f128d3baf7
commit
06c59cce6f
|
@ -280,7 +280,7 @@ pushd "$DIR"
|
||||||
# We *most definitely* don't need debug symbols in the linker/compiler.
|
# 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.
|
# 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}"
|
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}")"
|
echo "Before: $(du -h "${binary}")"
|
||||||
strip "${binary}"
|
strip "${binary}"
|
||||||
echo "After: $(du -h "${binary}")"
|
echo "After: $(du -h "${binary}")"
|
||||||
|
|
Loading…
Reference in a new issue