mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 01:29:07 +00:00
Partially fix Windows build with go-compile
Fix go-compile to not use buildmode pie for Windows. See #1863 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
a81a48629b
commit
fc69bcf288
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ all: default
|
||||
VERSION="0.0" # dummy for now
|
||||
GIT_COMMIT=$(shell git rev-list -1 HEAD)
|
||||
|
||||
GO_COMPILE=linuxkit/go-compile:5bf17af781df44f07906099402680b9a661f999b
|
||||
GO_COMPILE=linuxkit/go-compile:3ba94f14de51b73551417e769d122815ec917ee7
|
||||
|
||||
MOBY?=bin/moby
|
||||
LINUXKIT?=bin/linuxkit
|
||||
|
@ -88,7 +88,7 @@ test -z $(find . -type f -name "*.go" -not -path "*/vendor/*" -not -name "*.pb.*
|
||||
|
||||
>&2 echo "go build..."
|
||||
|
||||
if [ "$GOOS" = "darwin" ]
|
||||
if [ "$GOOS" = "darwin" -o "$GOOS" = "windows" ]
|
||||
then
|
||||
if [ -z "$ldflags" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user