blob: 3fd28099a2127fd01b948cc3f92bf0c40d474366 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
these lines add dev-lang/go and cc as BDEPEND unnecessarily so remove them
diff --git a/image/Makefile b/image/Makefile
index 9205e83..8b22f3e 100644
--- a/image/Makefile
+++ b/image/Makefile
@@ -1,11 +1,6 @@
export GOPROXY=https://proxy.golang.org
-GOBIN := $(shell go env GOBIN)
-ifeq ($(GOBIN),)
-GOBIN := $(shell go env GOPATH)/bin
-endif
-
# when cross compiling _for_ a Darwin or windows host, then we must use openpgp
BUILD_TAGS_WINDOWS_CROSS = containers_image_openpgp
BUILD_TAGS_DARWIN_CROSS = containers_image_openpgp
@@ -18,7 +13,6 @@ BUILDFLAGS := -tags "$(BUILDTAGS)" -ldflags '-X go.podman.io/image/v5/signature/
TESTFLAGS :=
TEST_PACKAGES := ./...
-PACKAGES := $(shell go list $(BUILDFLAGS) ./...)
SOURCE_DIRS = $(shell echo $(PACKAGES) | awk 'BEGIN{FS="/"; RS=" "}{print $$4}' | uniq)
PREFIX ?= ${DESTDIR}/usr
diff --git a/storage/Makefile b/storage/Makefile
index 064ed6b..0b95b92 100644
--- a/storage/Makefile
+++ b/storage/Makefile
@@ -21,9 +21,7 @@
test-unit
NATIVETAGS :=
-AUTOTAGS := $(shell ./hack/btrfs_tag.sh) $(shell ./hack/libsubid_tag.sh)
BUILDFLAGS := -tags "$(AUTOTAGS) $(TAGS)" $(FLAGS)
-GO ?= go
TESTFLAGS ?=
default all: local-binary docs local-cross ## build and cross-build\nbinaries and docs
|