Skip to content

Commit 6ed62aa

Browse files
committed
use CC=cc to install xcaddy
1 parent 1d29ac2 commit 6ed62aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/store/pkg/GoXcaddy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function extract(string $name): void
7474
'GOBIN' => "{$pkgroot}/{$name}/bin",
7575
'GOPATH' => "{$pkgroot}/go",
7676
])
77-
->exec("{$go_exec} install github.com/caddyserver/xcaddy/cmd/xcaddy@latest");
77+
->exec("CC=cc {$go_exec} install github.com/caddyserver/xcaddy/cmd/xcaddy@latest");
7878
}
7979

8080
public static function getEnvironment(): array

0 commit comments

Comments
 (0)