We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 832c023 commit 63fcdd9Copy full SHA for 63fcdd9
src/SPC/builder/linux/LinuxBuilder.php
@@ -80,7 +80,7 @@ public function buildPHP(int $build_target = BUILD_TARGET_NONE): void
80
}
81
// add libstdc++, some extensions or libraries need it
82
$extra_libs .= (empty($extra_libs) ? '' : ' ') . ($this->hasCpp() ? '-lstdc++ ' : '');
83
- $extra_libs .= (SystemUtil::getCCType(getenv('CC')) === 'clang' ? ' -lunwind' : '');
+ $extra_libs .= (SystemUtil::getCCType() === 'clang' ? ' -lunwind' : '');
84
f_putenv('SPC_EXTRA_LIBS=' . $extra_libs);
85
$cflags = $this->arch_c_flags;
86
f_putenv('CFLAGS=' . $cflags);
0 commit comments