Skip to content

Commit 5884554

Browse files
authored
Build zstd with optimizations enabled (#768)
Also, enable verbose output in the build system because it is otherwise too quiet to be helpful. See #761 (comment)
1 parent c744db9 commit 5884554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build-zstd.sh

Lines changed: 1 addition & 1 deletion
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} -DZSTD_MULTITHREAD -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" make -j ${NUM_CPUS} libzstd.a
60+
CFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC -DZSTD_MULTITHREAD -O3" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" make -j ${NUM_CPUS} VERBOSE=1 libzstd.a
6161
make -j ${NUM_CPUS} install-static DESTDIR=${ROOT}/out
6262
make -j ${NUM_CPUS} install-includes DESTDIR=${ROOT}/out
6363
MT=1 make -j ${NUM_CPUS} install-pc DESTDIR=${ROOT}/out

0 commit comments

Comments
 (0)