Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clang: Use compiler-rt path provided by compiler instead of libgcc
Newer versions of Clang compiler no longer use 'libgcc.a' for their runtime library. For example, the compiler prints the following with `--print-libgcc-file-name` option: ``` /usr/lib64/clang/17/lib/baremetal/libclang_rt.builtins-armv7m.a ``` To keep it compatible with older Clang compilers and different architectures, we can provide full path to runtime library instead of name only. Signed-off-by: Patryk Duda <[email protected]>
- Loading branch information