fix(dog): 添加CC环境变量,解决编译时找不到musl-gcc的问题 (#753)

This commit is contained in:
laokengwt 2024-04-22 17:40:03 +08:00 committed by GitHub
parent e32effb150
commit 70c991af20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,7 @@ endif
ifeq ($(ARCH), x86_64)
export RUST_TARGET=x86_64-unknown-linux-musl
export CC=x86_64-linux-musl-gcc
else ifeq ($(ARCH), riscv64)
export RUST_TARGET=riscv64gc-unknown-linux-gnu
else