Browse Source

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

laokengwt 10 months ago
parent
commit
70c991af20
1 changed files with 1 additions and 0 deletions
  1. 1 0
      user/apps/test-backlog/Makefile

+ 1 - 0
user/apps/test-backlog/Makefile

@@ -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