mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Update podman.Makefile.UDM-Pro.patch
This commit is contained in:
parent
68454f900f
commit
01b8ba457d
@ -7,7 +7,7 @@ diff --git a/Makefile b/Makefile
|
|||||||
SOURCES = $(shell find . -path './.*' -prune -o \( \( -name '*.go' -o -name '*.c' \) -a ! -name '*_test.go' \) -print)
|
SOURCES = $(shell find . -path './.*' -prune -o \( \( -name '*.go' -o -name '*.c' \) -a ! -name '*_test.go' \) -print)
|
||||||
|
|
||||||
-BUILDTAGS_CROSS ?= containers_image_openpgp exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_overlay
|
-BUILDTAGS_CROSS ?= containers_image_openpgp exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_overlay
|
||||||
+BUILDTAGS_CROSS ?= containers_image_openpgp exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper seccomp apparmor libdm_no_deferred_remove
|
+BUILDTAGS_CROSS ?= containers_image_openpgp exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper seccomp libdm_no_deferred_remove
|
||||||
CONTAINER_RUNTIME := $(shell command -v podman 2> /dev/null || echo docker)
|
CONTAINER_RUNTIME := $(shell command -v podman 2> /dev/null || echo docker)
|
||||||
OCI_RUNTIME ?= ""
|
OCI_RUNTIME ?= ""
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ diff --git a/Makefile b/Makefile
|
|||||||
GOOS="$${TARGET%%.*}"; \
|
GOOS="$${TARGET%%.*}"; \
|
||||||
GOARCH="$${TARGET##*.}"; \
|
GOARCH="$${TARGET##*.}"; \
|
||||||
- CGO_ENABLED=0 \
|
- CGO_ENABLED=0 \
|
||||||
+ CGO_ENABLED1 \
|
+ CGO_ENABLED=1 \
|
||||||
$(GO) build \
|
$(GO) build \
|
||||||
$(BUILDFLAGS) \
|
$(BUILDFLAGS) \
|
||||||
$(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' \
|
$(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' \
|
||||||
|
Loading…
Reference in New Issue
Block a user