Skip to content

Commit

Permalink
Do not pass -mod=vendor when building singularity
Browse files Browse the repository at this point in the history
This interferes with plugin loading. See:

- golang/go#31278
- golang/go#30531
- golang/go#28983

Signed-off-by: Marcelo E. Magallon <[email protected]>
  • Loading branch information
Marcelo E. Magallon committed Apr 5, 2019
1 parent a94b7aa commit 20edf17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlocal/frags/go_common_opts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ GO_BUILDMODE := -buildmode=default
GO_GCFLAGS := -gcflags=all=-trimpath=`dirname $(SOURCEDIR)`
GO_ASMFLAGS := -asmflags=all=-trimpath=`dirname $(SOURCEDIR)`
GO_MODFLAGS :=
GOFLAGS := -mod=vendor
GOFLAGS :=

export GOFLAGS GO111MODULE

Expand Down

0 comments on commit 20edf17

Please sign in to comment.