Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
9716d54a
Commit
9716d54a
authored
Dec 10, 2016
by
Marek Grabowski
Committed by
GitHub
Dec 10, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #38565 from luxas/fix_crossbuild3
Fix the cross-build
parents
025c57e6
afefb19a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
golang.sh
hack/lib/golang.sh
+0
-6
No files found.
hack/lib/golang.sh
View file @
9716d54a
...
@@ -236,8 +236,6 @@ kube::golang::set_platform_envs() {
...
@@ -236,8 +236,6 @@ kube::golang::set_platform_envs() {
# Dynamic CGO linking for other server architectures than linux/amd64 goes here
# Dynamic CGO linking for other server architectures than linux/amd64 goes here
# If you want to include support for more server platforms than these, add arch-specific gcc names here
# If you want to include support for more server platforms than these, add arch-specific gcc names here
case
"
${
platform
}
"
in
case
"
${
platform
}
"
in
"linux/amd64"
)
;;
"linux/arm"
)
"linux/arm"
)
export
CGO_ENABLED
=
1
export
CGO_ENABLED
=
1
export
CC
=
arm-linux-gnueabi-gcc
export
CC
=
arm-linux-gnueabi-gcc
...
@@ -256,10 +254,6 @@ kube::golang::set_platform_envs() {
...
@@ -256,10 +254,6 @@ kube::golang::set_platform_envs() {
export
CGO_ENABLED
=
1
export
CGO_ENABLED
=
1
export
CC
=
s390x-linux-gnu-gcc
export
CC
=
s390x-linux-gnu-gcc
;;
;;
*
)
echo
"Unsupported architecture to cross-compile from linux/amd64."
>
&2
exit
1
;;
esac
esac
fi
fi
}
}
...
...
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