|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] tools/golang: Run `go vet` as part of the build process
commit 6c04a0bf2c5824616c0bbc44bc4f07c64a5469be
Author: George Dunlap <george.dunlap@xxxxxxxxx>
AuthorDate: Fri Apr 19 11:35:57 2024 +0100
Commit: George Dunlap <george.dunlap@xxxxxxxxx>
CommitDate: Wed Apr 24 16:42:16 2024 +0100
tools/golang: Run `go vet` as part of the build process
Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxx>
Acked-by: Nick Rosbrook <rosbrookn@xxxxxxxxx>
---
tools/golang/xenlight/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/golang/xenlight/Makefile b/tools/golang/xenlight/Makefile
index c5bb6b94a8..645e7b3a82 100644
--- a/tools/golang/xenlight/Makefile
+++ b/tools/golang/xenlight/Makefile
@@ -29,6 +29,7 @@ $(subst .gen.,.%.,$(GOXL_GEN_FILES)): gengotypes.py
$(LIBXL_SRC_DIR)/libxl_types
# so that it can find the actual library.
.PHONY: build
build: xenlight.go $(GOXL_GEN_FILES)
+ CGO_CFLAGS="$(CFLAGS_libxenlight) $(CFLAGS_libxentoollog)
$(APPEND_CFLAGS)" CGO_LDFLAGS="$(call xenlibs-ldflags,light toollog)
$(APPEND_LDFLAGS)" $(GO) vet
CGO_CFLAGS="$(CFLAGS_libxenlight) $(CFLAGS_libxentoollog)
$(APPEND_CFLAGS)" CGO_LDFLAGS="$(call xenlibs-ldflags,light toollog)
$(APPEND_LDFLAGS)" $(GO) build -x
.PHONY: install
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |