mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
strip rustdoc as well
This commit is contained in:
parent
3ee95ecad2
commit
d475d54575
@ -37,7 +37,7 @@ function recipe_stage {
|
||||
libpath="$1/lib/rustlib/${TARGET}/lib"
|
||||
mkdir -p "$binpath" "$libpath"
|
||||
cp -fv "build/${TARGET}/stage2/bin/"* "$binpath"
|
||||
${STRIP} "$binpath/rustc"
|
||||
${STRIP} "$binpath/"*
|
||||
cp -fv $(find build/*/stage2/lib/rustlib/${TARGET}/lib/ -type f | grep -v librustc) "$libpath"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user