@@ -42,12 +42,12 @@ geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm geth-linux-mips64 get
4242 @ls -ld $(GOBIN ) /geth-linux-*
4343
4444geth-linux-386 :
45- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/386 -v ./cmd/geth
45+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=linux/386 -v ./cmd/geth
4646 @echo " Linux 386 cross compilation done:"
4747 @ls -ld $(GOBIN ) /geth-linux-* | grep 386
4848
4949geth-linux-amd64 :
50- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/amd64 -v ./cmd/geth
50+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=linux/amd64 -v ./cmd/geth
5151 @echo " Linux amd64 cross compilation done:"
5252 @ls -ld $(GOBIN ) /geth-linux-* | grep amd64
5353
@@ -56,32 +56,32 @@ geth-linux-arm: geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-ar
5656 @ls -ld $(GOBIN ) /geth-linux-* | grep arm
5757
5858geth-linux-arm-5 :
59- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-5 -v ./cmd/geth
59+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-5 -v ./cmd/geth
6060 @echo " Linux ARMv5 cross compilation done:"
6161 @ls -ld $(GOBIN ) /geth-linux-* | grep arm-5
6262
6363geth-linux-arm-6 :
64- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-6 -v ./cmd/geth
64+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-6 -v ./cmd/geth
6565 @echo " Linux ARMv6 cross compilation done:"
6666 @ls -ld $(GOBIN ) /geth-linux-* | grep arm-6
6767
6868geth-linux-arm-7 :
69- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-7 -v ./cmd/geth
69+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm-7 -v ./cmd/geth
7070 @echo " Linux ARMv7 cross compilation done:"
7171 @ls -ld $(GOBIN ) /geth-linux-* | grep arm-7
7272
7373geth-linux-arm64 :
74- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm64 -v ./cmd/geth
74+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=linux/arm64 -v ./cmd/geth
7575 @echo " Linux ARM64 cross compilation done:"
7676 @ls -ld $(GOBIN ) /geth-linux-* | grep arm64
7777
7878geth-linux-mips64 :
79- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/mips64 -v ./cmd/geth
79+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=linux/mips64 -v ./cmd/geth
8080 @echo " Linux MIPS64 cross compilation done:"
8181 @ls -ld $(GOBIN ) /geth-linux-* | grep mips64
8282
8383geth-linux-mips64le :
84- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=linux/mips64le -v ./cmd/geth
84+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=linux/mips64le -v ./cmd/geth
8585 @echo " Linux MIPS64le cross compilation done:"
8686 @ls -ld $(GOBIN ) /geth-linux-* | grep mips64le
8787
@@ -90,12 +90,12 @@ geth-darwin: geth-darwin-386 geth-darwin-amd64
9090 @ls -ld $(GOBIN ) /geth-darwin-*
9191
9292geth-darwin-386 :
93- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=darwin/386 -v ./cmd/geth
93+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=darwin/386 -v ./cmd/geth
9494 @echo " Darwin 386 cross compilation done:"
9595 @ls -ld $(GOBIN ) /geth-darwin-* | grep 386
9696
9797geth-darwin-amd64 :
98- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=darwin/amd64 -v ./cmd/geth
98+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=darwin/amd64 -v ./cmd/geth
9999 @echo " Darwin amd64 cross compilation done:"
100100 @ls -ld $(GOBIN ) /geth-darwin-* | grep amd64
101101
@@ -104,21 +104,21 @@ geth-windows: geth-windows-386 geth-windows-amd64
104104 @ls -ld $(GOBIN ) /geth-windows-*
105105
106106geth-windows-386 :
107- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=windows/386 -v ./cmd/geth
107+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=windows/386 -v ./cmd/geth
108108 @echo " Windows 386 cross compilation done:"
109109 @ls -ld $(GOBIN ) /geth-windows-* | grep 386
110110
111111geth-windows-amd64 :
112- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=windows/amd64 -v ./cmd/geth
112+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=windows/amd64 -v ./cmd/geth
113113 @echo " Windows amd64 cross compilation done:"
114114 @ls -ld $(GOBIN ) /geth-windows-* | grep amd64
115115
116116geth-android :
117- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=android-21/aar -v ./cmd/geth
117+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=android-21/aar -v ./cmd/geth
118118 @echo " Android cross compilation done:"
119119 @ls -ld $(GOBIN ) /geth-android-*
120120
121121geth-ios :
122- build/env.sh go run build/ci.go xgo --go=$(GO ) --dest=$(GOBIN ) --targets=ios-7.0/framework -v ./cmd/geth
122+ build/env.sh go run build/ci.go xgo -- -- go=$(GO ) --dest=$(GOBIN ) --targets=ios-7.0/framework -v ./cmd/geth
123123 @echo " iOS framework cross compilation done:"
124124 @ls -ld $(GOBIN ) /geth-ios-*
0 commit comments