Skip to content

Commit b2d0995

Browse files
laokengwtBrahmaMantra
authored andcommitted
fix(dog): 添加CC环境变量,解决编译时找不到musl-gcc的问题 (DragonOS-Community#753)
1 parent 6879974 commit b2d0995

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

user/apps/test-backlog/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ endif
1111

1212
ifeq ($(ARCH), x86_64)
1313
export RUST_TARGET=x86_64-unknown-linux-musl
14+
export CC=x86_64-linux-musl-gcc
1415
else ifeq ($(ARCH), riscv64)
1516
export RUST_TARGET=riscv64gc-unknown-linux-gnu
1617
else

0 commit comments

Comments
 (0)