mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
getcctype default
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user