diff options
Diffstat (limited to 'recipes-containers/runc/files')
-rw-r--r-- | recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch b/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch index 9e5a8313..1e0aaf7e 100644 --- a/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch +++ b/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch | |||
@@ -17,12 +17,12 @@ Index: git/src/import/Makefile | |||
17 | =================================================================== | 17 | =================================================================== |
18 | --- git.orig/src/import/Makefile | 18 | --- git.orig/src/import/Makefile |
19 | +++ git/src/import/Makefile | 19 | +++ git/src/import/Makefile |
20 | @@ -24,7 +24,7 @@ | 20 | @@ -37,7 +37,7 @@ |
21 | GO_BUILDMODE := "-buildmode=pie" | 21 | GO_BUILDMODE := "-buildmode=pie" |
22 | endif | 22 | endif |
23 | endif | 23 | endif |
24 | -GO_BUILD := $(GO) build -trimpath $(GO_BUILDMODE) \ | 24 | -GO_BUILD := $(GO) build $(TRIMPATH) $(GO_BUILDMODE) \ |
25 | +GO_BUILD := $(GO) build $(GOBUILDFLAGS) -trimpath $(GO_BUILDMODE) \ | 25 | +GO_BUILD := $(GO) build $(GOBUILDFLAGS) $(TRIMPATH) $(GO_BUILDMODE) \ |
26 | $(EXTRA_FLAGS) -tags "$(BUILDTAGS)" \ | 26 | $(EXTRA_FLAGS) -tags "$(BUILDTAGS)" \ |
27 | -ldflags "$(LDFLAGS_COMMON) $(EXTRA_LDFLAGS)" | 27 | -ldflags "$(LDFLAGS_COMMON) $(EXTRA_LDFLAGS)" |
28 | 28 | ||