aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch
blob: 06db99fd5ebf29ada46be6d74c47037ec26df4a9 (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
From b4ad9b2a57d6c736870657c06959ccc44b578f12 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Tue, 30 Jun 2020 23:47:08 -0400
Subject: [PATCH] build: use  for cross compiler

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
 a/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/Makefile
===================================================================
--- oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68.orig/Makefile
+++ oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/Makefile
@@ -13,11 +13,11 @@
 all: tool runtimetest validation-executables
 
 tool:
-	go build $(BUILD_FLAGS) -o oci-runtime-tool ./cmd/oci-runtime-tool
+	${GO} build $(BUILD_FLAGS) -o oci-runtime-tool ./cmd/oci-runtime-tool
 
 .PHONY: runtimetest
 runtimetest:
-	go build $(STATIC_BUILD_FLAGS) -o runtimetest ./cmd/runtimetest
+	${GO} build $(STATIC_BUILD_FLAGS) -o runtimetest ./cmd/runtimetest
 
 .PHONY: man
 man: