chore: allow NOSTRIP

This commit is contained in:
mzz2017
2023-03-17 15:37:12 +08:00
parent fe3f9c62c3
commit feaf05af08
4 changed files with 28 additions and 16 deletions

View File

@ -6,7 +6,7 @@
```shell
clang >= 10
llvm >= 10
llvm >= 10 (optional)
golang >= 1.18
make
```
@ -17,10 +17,17 @@ make
git clone https://github.com/daeuniverse/dae.git
cd dae
git submodule update --init
# Minimal dependency build:
make GOFLAGS="-buildvcs=false" CC=clang
# Or normal build:
# make
## Minimal dependency build
make GOFLAGS="-buildvcs=false" CC=clang NOSTRIP=y
## Normal build
#make
## Cross compile
# To armv7 CPU architect:
#make CGO_ENABLED=0 GOARCH=arm GOARM=7
# To mips CPU architect:
#make CGO_ENABLED=0 GOARCH=mips
```
## Run