Skip to content

Commit 8c13253

Browse files
authored
chore(ci): don't use absolute paths for Darwin AMD64 CC/CXX (#13)
This is slightly nicer.
1 parent b34630c commit 8c13253

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.goreleaser.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ builds:
6363
- '-extldflags "-static -s -w"'
6464
- id: build-darwin-amd64
6565
env:
66-
- CC=/osxcross/target/bin/o64-clang
67-
- CXX=/osxcross/target/bin/o64-clang++
66+
- CC=o64-clang
67+
- CXX=o64-clang++
6868
- CGO_CFLAGS=-I/darwin-amd64-buildroot/sys-root/include
6969
- CGO_LDFLAGS=-L/darwin-amd64-buildroot/sys-root/lib
70+
- PATH=/osxcross/target/bin:$PATH
7071
goos:
7172
- darwin
7273
goarch:

0 commit comments

Comments
 (0)