File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,14 @@ uninstall:
48
48
rm $(INSTLOC ) /$(GIN )
49
49
50
50
$(BUILDLOC ) /$(GIN ) : $(SOURCES )
51
- go build $(LDFLAGS ) -o $(BUILDLOC ) /$(GIN )
51
+ go build -trimpath $(LDFLAGS ) -o $(BUILDLOC ) /$(GIN )
52
52
53
53
$(BUILDLOC ) /linux/$(GIN ) : $(SOURCES )
54
- GOOS=linux GOARCH=amd64 go build -o $(BUILDLOC ) /linux/$(GIN ) $(LDFLAGS )
54
+ GOOS=linux GOARCH=amd64 go build -trimpath - o $(BUILDLOC ) /linux/$(GIN ) $(LDFLAGS )
55
55
56
56
$(BUILDLOC ) /windows/$(GIN ) .exe : $(SOURCES )
57
- GOOS=windows GOARCH=386 go build -o $(BUILDLOC ) /windows32/$(GIN ) .exe $(LDFLAGS )
58
- GOOS=windows GOARCH=amd64 go build -o $(BUILDLOC ) /windows64/$(GIN ) .exe $(LDFLAGS )
57
+ GOOS=windows GOARCH=386 go build -trimpath - o $(BUILDLOC ) /windows32/$(GIN ) .exe $(LDFLAGS )
58
+ GOOS=windows GOARCH=amd64 go build -trimpath - o $(BUILDLOC ) /windows64/$(GIN ) .exe $(LDFLAGS )
59
59
60
60
$(BUILDLOC ) /darwin/$(GIN ) : $(SOURCES )
61
- GOOS=darwin GOARCH=amd64 go build -o $(BUILDLOC ) /darwin/$(GIN ) $(LDFLAGS )
61
+ GOOS=darwin GOARCH=amd64 go build -trimpath - o $(BUILDLOC ) /darwin/$(GIN ) $(LDFLAGS )
You can’t perform that action at this time.
0 commit comments