fix debug flags

This commit is contained in:
DubbleClick 2025-07-05 18:41:50 +07:00
parent 9935eba336
commit 939b9eb8a8

View File

@ -327,7 +327,7 @@ abstract class UnixBuilderBase extends BuilderBase
if (getenv('SPC_CMD_VAR_PHP_EMBED_TYPE') === 'shared') {
$libphpVersion = preg_replace('/\.\d$/', '', $libphpVersion);
}
$debugFlags = $this->getOption('no-strip') ? "'-w -s' " : '';
$debugFlags = $this->getOption('no-strip') ? "-w -s " : '';
$extLdFlags = "-extldflags '-pie'";
$muslTags = '';
$staticFlags = '';