perf: strip LLVM binaries

This commit is contained in:
Sebastian Ullrich 2021-11-08 17:53:09 +01:00
parent 27bc6397a0
commit 749158c8c1

View file

@ -18,6 +18,7 @@ $CP llvm/bin/{ld.lld,lld} stage1/bin/
# dependencies of the above
$CP llvm/lib/lib{clang-cpp,LLVM}*.so* stage1/lib/
$CP $ZLIB/lib/libz.so* stage1/lib/
find stage1 -type f -exec strip --strip-unneeded '{}' \; 2> /dev/null
# lean.h dependencies
$CP llvm/lib/clang/*/include/{std*,__std*,limits}.h stage1/include/clang
# ELF dependencies, must be put there for `--sysroot`