增加 Stripped build.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
c20a975106
commit
64fbc46223
|
@ -52,4 +52,6 @@ GOOS=linux GOARCH=arm GOARM=7 go build
|
||||||
```bash
|
```bash
|
||||||
# Build for arm
|
# Build for arm
|
||||||
CGO_ENABLED=1 GOOS=linux GOARCH=arm CC=arm-linux-gnueabi-gcc go build
|
CGO_ENABLED=1 GOOS=linux GOARCH=arm CC=arm-linux-gnueabi-gcc go build
|
||||||
|
# Build and Stripped
|
||||||
|
GOOS=linux GOARCH=arm go build -ldflags "-s"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue