fix go build with NO_GO_VET
@@ -5947,9 +5947,10 @@ macro GO_LINK_FLAGS(Flags...) {
GO_TOOL_COMMON_FLAGS=\
$GO_PROJECT_PREFIXES \
++goversion $GOSTD_VERSION \
+ ++arc-source-root $ARCADIA_ROOT \
++build-root $ARCADIA_BUILD_ROOT \
++output-root $BINDIR \
- ++tools-root ${GO_TOOLS_ROOT} \
+ ++tools-root $GO_TOOLS_ROOT \
$GO_HOST_TARG_PARAMS \
++output $TARGET \
$GO_VET_OUTPUT \
@@ -6219,7 +6220,7 @@ module _GO_BASE_UNIT: _BASE_UNIT {
SET(_GO_VET $_GO_VET)
when ($_GO_VET == "yes" && $NO_GO_VET != "yes") {
- GO_VET_OUTPUT=++vet $GO_VET_TOOL ++vet-flags $GO_VET_FLAGS $GO_VET_OUTPUT_INFO $GO_VET_OUTPUT_REPORT ++arc-source-root ${ARCADIA_ROOT}
+ GO_VET_OUTPUT=++vet $GO_VET_TOOL ++vet-flags $GO_VET_FLAGS $GO_VET_OUTPUT_INFO $GO_VET_OUTPUT_REPORT
}
otherwise {
GO_VET_OUTPUT=
