Merge pull request #630 from lsm5/go-envvar

use GO envvar throughout in Makefile
This commit is contained in:
Miloslav Trmač 2019-04-16 19:50:51 +02:00 committed by GitHub
commit e255ccc145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ ifeq ($(DEBUG), 1)
override GOGCFLAGS += -N -l
endif
ifeq ($(shell go env GOOS), linux)
ifeq ($(shell $(GO) env GOOS), linux)
GO_DYN_FLAGS="-buildmode=pie"
endif