mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-03 16:07:43 +00:00
Update alpine package
- minor cleanup - remove cross compile support from go-compile script as not needed Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -33,14 +33,4 @@ go test
|
||||
|
||||
export CGO_ENABLED=0
|
||||
|
||||
if [ "$GOOS" = "darwin" -o "$GOOS" = "windows" ]
|
||||
then
|
||||
if [ -z "$ldflags" ]
|
||||
then
|
||||
go install
|
||||
else
|
||||
go install -ldflags "${ldflags}"
|
||||
fi
|
||||
else
|
||||
go install -buildmode pie -ldflags "-s -w ${ldflags} -extldflags \"-fno-PIC -static\""
|
||||
fi
|
||||
go install -buildmode pie -ldflags "-s -w ${ldflags} -extldflags \"-fno-PIC -static\""
|
||||
|
Reference in New Issue
Block a user