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 aff9ff2 commit efb1ff5Copy full SHA for efb1ff5
src/SPC/util/GlobalEnvManager.php
@@ -45,7 +45,7 @@ public static function init(): void
45
if (PHP_OS_FAMILY === 'Linux') {
46
$arch = getenv('GNU_ARCH');
47
48
- if (str_contains(getenv('CC'), 'zig')) {
+ if (str_contains((string) getenv('CC'), 'zig')) {
49
self::putenv('SPC_LINUX_DEFAULT_CC=zig-cc');
50
self::putenv('SPC_LINUX_DEFAULT_CXX=zig-c++');
51
self::putenv('SPC_LINUX_DEFAULT_AR=ar');
0 commit comments