[libc-commits] [PATCH] D76271: [libc] Add a new rule `add_object`.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Mar 17 09:38:21 PDT 2020
sivachandra marked an inline comment as done.
sivachandra added a comment.
In D76271#1926018 <https://reviews.llvm.org/D76271#1926018>, @abrachet wrote:
> Could you show how you are using this? I have tried like:
> Doesn't work, entrypoint doesn't link against special.o
I have explained how to use it on the `sigaction` review page.
Comment at: libc/cmake/modules/LLVMLibCRules.cmake:112
> Won't `add_library` compile using `CMAKE_CXX_FLAGS`?
Yes, but any new compile options you add get added at the end and hence will override (if required) the options earlier in the line.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libc-commits