chore: support cross compilation

This commit is contained in:
mzz2017
2024-06-25 02:14:54 +08:00
parent 2b9a4052f7
commit c2b5acb423
5 changed files with 44 additions and 10 deletions

View File

@ -18,8 +18,7 @@ git clone https://github.com/daeuniverse/dae.git
cd dae
git submodule update --init
## Minimal dependency build
make GOFLAGS="-buildvcs=false" \
CC=clang
make GOFLAGS="-buildvcs=false" CC=clang KEEP_CGO_ENVS=1
## Normal build
#make