Remove outdated instructions about rebuilding Go libraries

This bit is unnecessary with newer versions of Go that cache builds
for different tags in different places.
This commit is contained in:
Bryan Boreham
2020-01-14 13:22:29 +00:00
parent bc4ec26bf5
commit 15bb96bb67

View File

@@ -100,14 +100,6 @@ else
$(SCOPE_EXE):
time $(GO) build $(GO_BUILD_FLAGS) -o $@ ./$(@D)
@strings $@ | grep cgo_stub\\\.go >/dev/null || { \
rm $@; \
echo "\nYour go standard library was built without the 'netgo' build tag."; \
echo "To fix that, run"; \
echo " sudo go clean -i net"; \
echo " sudo go install -tags netgo std"; \
false; \
}
%.codecgen.go: $(CODECGEN_EXE)
rm -f $@; $(GO_HOST) build $(GO_BUILD_FLAGS) ./$(@D) # workaround for https://github.com/ugorji/go/issues/145