diff options
Diffstat (limited to 'recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch')
-rw-r--r-- | recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch b/recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch index 8098562e..0c4f3fd2 100644 --- a/recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch +++ b/recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch | |||
@@ -17,12 +17,12 @@ index c6976af..f3c8d17 100644 | |||
17 | build: | 17 | build: |
18 | @echo "+ $@" | 18 | @echo "+ $@" |
19 | - @go build -tags "$(BUILDTAGS) cgo" . | 19 | - @go build -tags "$(BUILDTAGS) cgo" . |
20 | + @${GO} build -tags "$(BUILDTAGS) cgo" . | 20 | + @${GO} build ${GOBUILDFLAGS} -tags "$(BUILDTAGS) cgo" . |
21 | 21 | ||
22 | static: | 22 | static: |
23 | @echo "+ $@" | 23 | @echo "+ $@" |
24 | - CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o riddler . | 24 | - CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o riddler . |
25 | + CGO_ENABLED=1 ${GO} build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o riddler . | 25 | + CGO_ENABLED=1 ${GO} build ${GOBUILDFLAGS} -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o riddler . |
26 | 26 | ||
27 | fmt: | 27 | fmt: |
28 | @echo "+ $@" | 28 | @echo "+ $@" |