[PATCH] D51899: Remove extraneous ".a" suffix from baremetal clang_rt.builtins when compiling for baremetal.

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 22 22:22:25 PDT 2019


compnerd accepted this revision.
compnerd added a comment.
This revision is now accepted and ready to land.

This is not a linker specific thing - the library name that we are passing is misnamed - the parameter should be `-l` <library name> which will become `lib` <library name>` [`.so` | `.a`].  If we want to guarantee the static library, using `-static`, `-nostatic` around the library is more appropriate.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D51899/new/

https://reviews.llvm.org/D51899





More information about the cfe-commits mailing list