Skip to content

Commit b6f7649

Browse files
committed
disable opcache jit on musl
1 parent 835a563 commit b6f7649

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-static.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ if [ -z "${SPC_OPT_DOWNLOAD_ARGS}" ]; then
4242
else
4343
SPC_OPT_DOWNLOAD_ARGS="--prefer-pre-built --debug --ignore-cache-sources=php-src"
4444
fi
45+
if [ "${SPC_LIBC}" = "musl" ]; then
46+
SPC_OPT_DOWNLOAD_ARGS="${SPC_OPT_DOWNLOAD_ARGS} --disable-opcache-jit"
47+
fi
4548
fi
4649
# if we need debug symbols, disable strip
4750
if [ -n "${DEBUG_SYMBOLS}" ]; then

0 commit comments

Comments
 (0)