File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,15 +29,19 @@ os="$(uname -s | tr '[:upper:]' '[:lower:]')"
2929
3030# init spc command, if we use spc binary, just use it instead of fetching source
3131if [ -z " ${SPC_REL_TYPE} " ]; then
32- SPC_REL_TYPE=" source"
32+ SPC_REL_TYPE=" source"
3333fi
3434# init spc build additional args
3535if [ -z " ${SPC_OPT_BUILD_ARGS} " ]; then
36- SPC_OPT_BUILD_ARGS=" --debug"
36+ SPC_OPT_BUILD_ARGS=" --debug"
3737fi
3838# init spc download additional args
3939if [ -z " ${SPC_OPT_DOWNLOAD_ARGS} " ]; then
40+ if [ " ${os} " = " linux" ] && [ " ${SPC_LIBC} " = " glibc" ]; then
41+ SPC_OPT_DOWNLOAD_ARGS=" --debug --ignore-cache-sources=php-src"
42+ else
4043 SPC_OPT_DOWNLOAD_ARGS=" --prefer-pre-built --debug --ignore-cache-sources=php-src"
44+ fi
4145fi
4246# if we need debug symbols, disable strip
4347if [ -n " ${DEBUG_SYMBOLS} " ]; then
You can’t perform that action at this time.
0 commit comments