1. -target should be in front, otherwise clang will not be able to find the corresponding libgcc.a 2. When using clang++ compiler to link, you also need to specify the corresponding arch, otherwise ld.lld will report an error due to arch mismatch. Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||