perf: strip LLVM binaries
This commit is contained in:
parent
27bc6397a0
commit
749158c8c1
1 changed files with 1 additions and 0 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue