Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
273e0d39
Commit
273e0d39
authored
Oct 17, 2016
by
Adam Reese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(*): statically link cross builds
closes: #1362
parent
1a7373e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Makefile
Makefile
+2
-1
No files found.
Makefile
View file @
273e0d39
...
@@ -27,8 +27,9 @@ build:
...
@@ -27,8 +27,9 @@ build:
# usage: make build-cross dist VERSION=v2.0.0-alpha.3
# usage: make build-cross dist VERSION=v2.0.0-alpha.3
.PHONY
:
build-cross
.PHONY
:
build-cross
build-cross
:
LDFLAGS += -extldflags "-static"
build-cross
:
build-cross
:
gox
-output
=
"_dist/{{.OS}}-{{.Arch}}/{{.Dir}}"
-osarch
=
'
$(TARGETS)
'
$(GOFLAGS)
-tags
'
$(TAGS)
'
-ldflags
'
$(LDFLAGS)
'
k8s.io/helm/cmd/helm
CGO_ENABLED
=
0
gox
-output
=
"_dist/{{.OS}}-{{.Arch}}/{{.Dir}}"
-osarch
=
'
$(TARGETS)
'
$(GOFLAGS)
-tags
'
$(TAGS)
'
-ldflags
'
$(LDFLAGS)
'
k8s.io/helm/cmd/helm
.PHONY
:
dist
.PHONY
:
dist
dist
:
dist
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment