From 0cf0a9344ca475df8fbd2396197be2969a8128a5 Mon Sep 17 00:00:00 2001 From: Ian Kaneshiro Date: Fri, 6 Nov 2020 16:39:08 -0800 Subject: [PATCH] Add wwbuild build tags These tags are required by github.com/containers/image/v5 to have a native go implementation. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 73f5a59f..a4ecd56d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ .PHONY: all +WW_BUILD_GO_BUILD_TAGS := containers_image_openpgp containers_image_ostree + all: warewulfd wwbuild wwclient files: all @@ -27,7 +29,7 @@ warewulfd: cd cmd/warewulfd; go build -o ../../warewulfd wwbuild: - cd cmd/wwbuild; go build -o ../../wwbuild + cd cmd/wwbuild; go build -tags "$(WW_BUILD_GO_BUILD_TAGS)" -o ../../wwbuild wwclient: cd cmd/wwclient; CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags -static' -o ../../wwclient