Skip to content

Commit 5c69109

Browse files
authored
chore: remove SPC_PHP_DEFAULT_OPTIMIZE_CFLAGS which doesn't exist annymore (#1669)
* chore(static): remove SPC_PHP_DEFAULT_OPTIMIZE_CFLAGS, which doesn't exist anymore * dont use pre-built packages on ARM * CS
1 parent 12f469e commit 5c69109

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

build-static.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ if [ "${os}" = "linux" ] && { [[ "${arch}" =~ "aarch" ]] || [[ "${arch}" =~ "arm
9191
fpic="-fPIC"
9292
fpie="-fPIE"
9393

94-
if [ -z "${DEBUG_SYMBOLS}" ]; then
95-
export SPC_PHP_DEFAULT_OPTIMIZE_CFLAGS="-g -fstack-protector-strong -fPIC -fPIE -Os -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
96-
fi
94+
# FIXME: temporary workaround because pre-built poackages aren't compiled wiht -fPIC yet
95+
SPC_OPT_DOWNLOAD_ARGS="--ignore-cache-sources=php-src --retry 5"
9796
else
9897
fpic="-fpic"
9998
fpie="-fpie"

0 commit comments

Comments
 (0)