containerd/Makefile.linux
Christopher Jones e6ab556f0e
Only use race flag on amd64
Race is only supported on amd64, so only run if GOARCH is amd64

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2017-08-23 12:30:44 -04:00

8 lines
140 B
Makefile

#linux specific settings
COMMANDS += containerd-shim
# amd64 supports go test -race
ifeq ("amd64", $(GOARCH))
TESTFLAGS_RACE= -race
endif