File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
website/content/en/docs/installation Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -547,9 +547,9 @@ ifeq ($(GOOS),darwin)
547547to_uname_m = $(foreach arch,$(1 ) ,$(shell echo $(arch ) | sed 's/amd64/x86_64/') )
548548else ifeq ($(GOOS),linux)
549549# CC is required for cross-compiling on Linux.
550- CC = $( call to_uname_m, $( GOARCH ) ) -linux-gnu- gcc
551- ifneq ($(NOCORSS ) ,)
552- CC = gcc
550+ CC = gcc
551+ ifneq ($(CROSS_COMPILE ) ,)
552+ CC = $(call to_uname_m,$(GOARCH))-linux-gnu- gcc
553553endif
554554else ifeq ($(GOOS),windows)
555555# artifact in zip format also provided for Windows.
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ cd lima
2222make
2323sudo make install
2424```
25+ Build other platform:
26+ ``` bash
27+ make CROSS_COMPILE=1
28+ sudo make install
29+ ```
2530
2631> ** Note:** ` sudo make install ` is required unless you have write permissions for ` /usr/local ` . Otherwise, installation may fail.
2732
You can’t perform that action at this time.
0 commit comments