Skip to content

Commit 5159c2b

Browse files
committed
Build zstd with multithreading enabled
1 parent ce0f50a commit 5159c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpython-unix/build-zstd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ index 5e6e8bc..6ca72a1 100644
5757
EOF
5858
fi
5959

60-
CFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" make -j ${NUM_CPUS} libzstd.a
60+
CFLAGS="${EXTRA_TARGET_CFLAGS} -DZSTD_MULTITHREAD -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" make -j ${NUM_CPUS} libzstd.a
6161
make -j ${NUM_CPUS} install-static DESTDIR=${ROOT}/out
6262
make -j ${NUM_CPUS} install-includes DESTDIR=${ROOT}/out
63-
make -j ${NUM_CPUS} install-pc DESTDIR=${ROOT}/out
63+
MT=1 make -j ${NUM_CPUS} install-pc DESTDIR=${ROOT}/out

0 commit comments

Comments
 (0)