Toolchain: Run `strip` after installing toolchain

This drops installed toolchain size to around fifth :D
This commit is contained in:
Bananymous 2024-09-17 22:30:40 +03:00
parent fbb99de728
commit f7e549e412
1 changed files with 2 additions and 0 deletions

View File

@ -273,3 +273,5 @@ if (($BUILD_LIBSTDCPP)); then
build_libstdcpp
fi
find "$BANAN_TOOLCHAIN_PREFIX" -type f -executable -exec strip --strip-unneeded {} + 2>/dev/null