File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 3535if [ -z " ${SPC_OPT_BUILD_ARGS} " ]; then
3636 SPC_OPT_BUILD_ARGS=" --debug"
3737fi
38+ # init spc libc
39+ if [ -z " ${SPC_LIBC} " ]; then
40+ if [ " ${os} " = " linux" ]; then
41+ SPC_LIBC=" musl"
42+ fi
43+ fi
3844# init spc download additional args
3945if [ -z " ${SPC_OPT_DOWNLOAD_ARGS} " ]; then
40- if [ " ${os} " = " linux " ] && [ " ${ SPC_LIBC}" = " glibc" ]; then
46+ if [ " ${SPC_LIBC} " = " glibc" ]; then
4147 SPC_OPT_DOWNLOAD_ARGS=" --debug --ignore-cache-sources=php-src"
4248 else
4349 SPC_OPT_DOWNLOAD_ARGS=" --prefer-pre-built --debug --ignore-cache-sources=php-src"
4450 fi
4551 if [ " ${SPC_LIBC} " = " musl" ]; then
4652 SPC_OPT_DOWNLOAD_ARGS=" ${SPC_OPT_DOWNLOAD_ARGS} --disable-opcache-jit"
47- fi
53+ fi
4854fi
4955# if we need debug symbols, disable strip
5056if [ -n " ${DEBUG_SYMBOLS} " ]; then
You can’t perform that action at this time.
0 commit comments