Commit a2c129d9 authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files

libsetup: strip symbols in parallel

`xargs` has the `-P` parameter to execute commands in parallel, so let's
use that.
parent e0ddfd20
......@@ -14,7 +14,7 @@ _fetch_source() {
_strip_binaries() {
dir=$1
scanelf -BARF '' "$dir" | cut -d: -f1 | sort -u | xargs strip
scanelf -BARF '' "$dir" | cut -d: -f1 | sort -u | xargs -P"$(nproc)" strip
}
apply_patch() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment