Skip to content

Commit 0aa0779

Browse files
committed
disable opcache jit on musl
1 parent 7576d81 commit 0aa0779

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)