linux*: honor XBPS_MAKEJOBS when compressing modules

run zstd with one working thread only, as mv-debug is executed by
xargs -P $XBPS_MAKEJOBS already
This commit is contained in:
Piraty 2025-07-29 23:00:37 +02:00
parent 7ca5ebfaae
commit 04cb050a7b
7 changed files with 7 additions and 7 deletions

View file

@ -4,4 +4,4 @@ mkdir -p usr/lib/debug/${mod%/*}
$OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
/usr/bin/$STRIP --strip-debug $mod
zstd --rm -19 $mod
zstd -T1 --rm -f -q $mod

View file

@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
/usr/bin/$STRIP --strip-debug $mod
$SIGN_FILE $mod
zstd -T0 --rm -f -q $mod
zstd -T1 --rm -f -q $mod

View file

@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
/usr/bin/$STRIP --strip-debug $mod
$SIGN_FILE $mod
zstd -T0 --rm -f -q $mod
zstd -T1 --rm -f -q $mod

View file

@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
/usr/bin/$STRIP --strip-debug $mod
$SIGN_FILE $mod
zstd -T0 --rm -f -q $mod
zstd -T1 --rm -f -q $mod

View file

@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
/usr/bin/$STRIP --strip-debug $mod
$SIGN_FILE $mod
zstd -T0 --rm -f -q $mod
zstd -T1 --rm -f -q $mod

View file

@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
/usr/bin/$STRIP --strip-debug $mod
$SIGN_FILE $mod
zstd -T0 --rm -f -q $mod
zstd -T1 --rm -f -q $mod

View file

@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
/usr/bin/$STRIP --strip-debug $mod
$SIGN_FILE $mod
zstd -T0 --rm -f -q $mod
zstd -T1 --rm -f -q $mod