mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 02:46:47 +00:00
fix(dog): 添加CC环境变量,解决编译时找不到musl-gcc的问题 (#753)
This commit is contained in:
parent
e32effb150
commit
70c991af20
@ -11,6 +11,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(ARCH), x86_64)
|
ifeq ($(ARCH), x86_64)
|
||||||
export RUST_TARGET=x86_64-unknown-linux-musl
|
export RUST_TARGET=x86_64-unknown-linux-musl
|
||||||
|
export CC=x86_64-linux-musl-gcc
|
||||||
else ifeq ($(ARCH), riscv64)
|
else ifeq ($(ARCH), riscv64)
|
||||||
export RUST_TARGET=riscv64gc-unknown-linux-gnu
|
export RUST_TARGET=riscv64gc-unknown-linux-gnu
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user