-
使用set_toolchains进行自定义编译工具,在on_config或者on_load运行下面语句:
在plat是linux的时候没问题,交叉到ARM也行。但是在plat设置为cross,arch为arm的时候,compiler.has_flags这句会出现运行错误:
看信息是找不到cc程序,因此 |
Beta Was this translation helpful? Give feedback.
Answered by
eddylin83
Aug 18, 2022
Replies: 1 comment
-
我直接改用lib.detect.has_flags的has_flags来实现这个功能了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
eddylin83
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我直接改用lib.detect.has_flags的has_flags来实现这个功能了。