Skip to content

Commit

Permalink
Use built-in variable for current path
Browse files Browse the repository at this point in the history
Signed-off-by: David Gageot <[email protected]>
  • Loading branch information
dgageot committed Feb 20, 2020
1 parent 01a7c1c commit 1854d7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ endif
export GO111MODULE = on
export GOFLAGS = -mod=vendor

GO_GCFLAGS = "all=-trimpath=${PWD}"
GO_ASMFLAGS = "all=-trimpath=${PWD}"
GO_GCFLAGS = "all=-trimpath=$(CURDIR)"
GO_ASMFLAGS = "all=-trimpath=$(CURDIR)"

LDFLAGS_linux = -static
LDFLAGS_darwin =
Expand Down

0 comments on commit 1854d7a

Please sign in to comment.