getcctype default

This commit is contained in:
DubbleClick
2025-06-24 21:03:32 +07:00
parent e1028b0348
commit 832c0230e2
4 changed files with 4 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ class SPCConfigUtil
if ($this->builder->hasCpp()) {
$libs .= $this->builder instanceof MacOSBuilder ? ' -lc++' : ' -lstdc++';
}
if (SystemUtil::getCCType(getenv('CC')) === 'clang') {
if (SystemUtil::getCCType() === 'clang') {
$libs .= ' -lunwind';
}
// mimalloc must come first