
Added -trimpath flag in -gcflags to reduce codepath in stack trace. Fixes #2000 In case of multiple GOPATH, it will trimpath of first one Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
13 lines
233 B
Makefile
13 lines
233 B
Makefile
#linux specific settings
|
|
COMMANDS += containerd-shim
|
|
|
|
# check GOOS for cross compile builds
|
|
ifeq ($(GOOS),linux)
|
|
GO_GCFLAGS += -buildmode=pie
|
|
endif
|
|
|
|
# amd64 supports go test -race
|
|
ifeq ($(GOARCH),amd64)
|
|
TESTFLAGS_RACE= -race
|
|
endif
|