Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: avoid building test bins with duplicate TAGS, GOFLAGS, LINKFLAGS
Recursively calling `$(MAKE) TAGS='$(TAGS)'` (ditto GOFLAGS, LINKFLAGS) causes the various strings to be appended twice to these variables (once in the caller make, one in the callee make) and then passed twice to the actual go commands. This causes some troubles on e.g. freebsd (see issue #21086). This patch alleviates the issue by removing the explicit variable overrides from the recursive make invocation. I have checked manually that if a user runs `make testlogic TAGS=foo` then the custom TAGS is properly propagated to the recursive make. Release note: None
- Loading branch information