diff options
Diffstat (limited to 'recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch')
| -rw-r--r-- | recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch b/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch index fedfad37..98194265 100644 --- a/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch +++ b/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch | |||
| @@ -8,24 +8,21 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | |||
| 8 | a/src/import/Makefile | 4 ++-- | 8 | a/src/import/Makefile | 4 ++-- |
| 9 | 1 file changed, 2 insertions(+), 2 deletions(-) | 9 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 10 | 10 | ||
| 11 | diff --git a/src/import/Makefile a/src/import/Makefile | 11 | Index: oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/src/import/Makefile |
| 12 | index 77626d2..c3a0760 100644 | 12 | =================================================================== |
| 13 | --- a/src/import/Makefile | 13 | --- oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68.orig/src/import/Makefile |
| 14 | +++ a/src/import/Makefile | 14 | +++ oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/src/import/Makefile |
| 15 | @@ -8,11 +8,11 @@ COMMIT=$(shell git rev-parse HEAD 2> /dev/null || true) | 15 | @@ -13,11 +13,11 @@ |
| 16 | all: tool runtimetest | 16 | all: tool runtimetest validation-executables |
| 17 | 17 | ||
| 18 | tool: | 18 | tool: |
| 19 | - go build -tags "$(BUILDTAGS)" -ldflags "-X main.gitCommit=${COMMIT}" -o oci-runtime-tool ./cmd/oci-runtime-tool | 19 | - go build $(BUILD_FLAGS) -o oci-runtime-tool ./cmd/oci-runtime-tool |
| 20 | + ${GO} build -tags "$(BUILDTAGS)" -ldflags "-X main.gitCommit=${COMMIT}" -o oci-runtime-tool ./cmd/oci-runtime-tool | 20 | + ${GO} build $(BUILD_FLAGS) -o oci-runtime-tool ./cmd/oci-runtime-tool |
| 21 | 21 | ||
| 22 | .PHONY: runtimetest | 22 | .PHONY: runtimetest |
| 23 | runtimetest: | 23 | runtimetest: |
| 24 | - CGO_ENABLED=0 go build -installsuffix cgo -tags "$(BUILDTAGS)" -o runtimetest ./cmd/runtimetest | 24 | - go build $(STATIC_BUILD_FLAGS) -o runtimetest ./cmd/runtimetest |
| 25 | + CGO_ENABLED=0 ${GO} build -installsuffix cgo -tags "$(BUILDTAGS)" -o runtimetest ./cmd/runtimetest | 25 | + ${GO} build $(STATIC_BUILD_FLAGS) -o runtimetest ./cmd/runtimetest |
| 26 | 26 | ||
| 27 | .PHONY: man | 27 | .PHONY: man |
| 28 | man: | 28 | man: |
| 29 | -- | ||
| 30 | 2.19.1 | ||
| 31 | |||
