mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Toolchain: Strip cc1
This commit is contained in:
parent
f128d3baf7
commit
06c59cce6f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue