File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ COMMIT_ID=$(shell git rev-parse --short HEAD)
88DATESTR =$(shell date -u +'% Y% m% d% H% M% S')
99XGO_LDFLAGS ='-s -w -X main.version=$(COMMIT_ID ) '
1010# github.com/xjasonlyu/tun2socks/blob/bf745d0e0/Makefile#L14
11- LDFLAGS_DEBUG='-buildid = -X $(IMPORT_PATH ) /intra/core.Date=$(DATESTR ) -X $(IMPORT_PATH ) /intra/core.Commit=$(COMMIT_ID ) '
11+ LDFLAGS_DEBUG='-checklinkname =0 - buildid= -X $(IMPORT_PATH ) /intra/core.Date=$(DATESTR ) -X $(IMPORT_PATH ) /intra/core.Commit=$(COMMIT_ID ) '
1212# checklinkname to override runtime.secureMode; see: core/overreach.go
1313# github.com/golang/go/issues/69868
1414LDFLAGS='-checklinkname =0 -w -s -buildid= -X $(IMPORT_PATH ) /intra/core.Date=$(DATESTR ) -X $(IMPORT_PATH ) /intra/core.Commit=$(COMMIT_ID ) '
You can’t perform that action at this time.
0 commit comments