mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Merge pull request #18837 from andyedwardsibm/main
Makefile to force a shell when running command
This commit is contained in:
2
Makefile
2
Makefile
@ -21,7 +21,7 @@
|
|||||||
###
|
###
|
||||||
|
|
||||||
# Default shell `/bin/sh` has different meanings depending on the platform.
|
# Default shell `/bin/sh` has different meanings depending on the platform.
|
||||||
SHELL := $(shell command -v bash)
|
SHELL := $(shell command -v bash;)
|
||||||
GO ?= go
|
GO ?= go
|
||||||
GO_LDFLAGS:= $(shell if $(GO) version|grep -q gccgo ; then echo "-gccgoflags"; else echo "-ldflags"; fi)
|
GO_LDFLAGS:= $(shell if $(GO) version|grep -q gccgo ; then echo "-gccgoflags"; else echo "-ldflags"; fi)
|
||||||
GOCMD = CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) GOARCH=$(GOARCH) $(GO)
|
GOCMD = CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) GOARCH=$(GOARCH) $(GO)
|
||||||
|
Reference in New Issue
Block a user