add back debug

This commit is contained in:
DubbleClick 2025-06-27 00:17:24 +07:00
parent 55d78579c8
commit cc4ec4b598
3 changed files with 7 additions and 7 deletions

View File

@ -548,6 +548,11 @@ class Extension
return [trim($staticLibString), trim($sharedLibString)];
}
protected function getExtraEnv(): array
{
return [];
}
private function getLibraryDependencies(bool $recursive = false): array
{
$ret = array_filter($this->dependencies, fn ($x) => $x instanceof LibraryBase);
@ -580,9 +585,4 @@ class Extension
}
return $deps;
}
protected function getExtraEnv(): array
{
return [];
}
}

View File

@ -61,7 +61,7 @@ class pgsql extends Extension
protected function getExtraEnv(): array
{
return [
'CFLAGS' => '-Wno-int-conversion -Wno-implicit-function-declaration'
'CFLAGS' => '-Wno-int-conversion -Wno-implicit-function-declaration',
];
}
}

View File

@ -196,7 +196,7 @@ if ($argv[1] === 'build_cmd' || $argv[1] === 'build_embed_cmd') {
$build_cmd .= $upx ? '--with-upx-pack ' : '';
$build_cmd .= $final_libs === '' ? '' : ('--with-libs=' . quote2($final_libs) . ' ');
$build_cmd .= str_starts_with($argv[2], 'windows-') ? '' : '--build-fpm ';
$build_cmd .= '';
$build_cmd .= '--debug ';
}
echo match ($argv[1]) {