Skip to content

Commit 4e11f97

Browse files
committed
.drone.yml: Try to fix gcc: error: unrecognized command line option '-mthreads'; did you mean '-pthread'? v1
1 parent 9f5971e commit 4e11f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ steps:
7878
GOARCH: amd64
7979
commands:
8080
- cd /go/src/github.com/coredns/coredns
81-
- make
81+
- make CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
8282
- mv coredns /go/src/github.com/leiless/dnsredir/bin/coredns_dnsredir-$GOOS-$GOARCH
8383
- name: calc-shasum256
8484
image: alpine

0 commit comments

Comments
 (0)