We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 115d4a6 commit d663244Copy full SHA for d663244
1 file changed
build-static.sh
@@ -40,9 +40,9 @@ fi
40
# init spc build additional args
41
if [ -z "${SPC_OPT_BUILD_ARGS}" ]; then
42
SPC_OPT_BUILD_ARGS=""
43
- if [ "${SPC_LIBC}" = "musl" ]; then
44
- SPC_OPT_BUILD_ARGS="${SPC_OPT_BUILD_ARGS} --disable-opcache-jit"
45
- fi
+fi
+if [ "${SPC_LIBC}" = "musl" ] && [[ "${SPC_OPT_BUILD_ARGS}" != *"--disable-opcache-jit"* ]]; then
+ SPC_OPT_BUILD_ARGS="${SPC_OPT_BUILD_ARGS} --disable-opcache-jit"
46
fi
47
# init spc download additional args
48
if [ -z "${SPC_OPT_DOWNLOAD_ARGS}" ]; then
0 commit comments