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)
547
547
to_uname_m = $(foreach arch,$(1 ) ,$(shell echo $(arch ) | sed 's/amd64/x86_64/') )
548
548
else ifeq ($(GOOS),linux)
549
549
# 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
553
553
endif
554
554
else ifeq ($(GOOS),windows)
555
555
# artifact in zip format also provided for Windows.
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ cd lima
22
22
make
23
23
sudo make install
24
24
```
25
+ Build other platform:
26
+ ``` bash
27
+ make CROSS_COMPILE=1
28
+ sudo make install
29
+ ```
25
30
26
31
> ** Note:** ` sudo make install ` is required unless you have write permissions for ` /usr/local ` . Otherwise, installation may fail.
27
32
You can’t perform that action at this time.
0 commit comments