[PATCH] D77164: libclc: Don't pass linker flags to CLC/LLAsm
Daniel Stone via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 14:43:20 PDT 2020
daniels added a comment.
In D77164#1958232 <https://reviews.llvm.org/D77164#1958232>, @jvesely wrote:
> Have you tried clearing the target link flags using `set_target_properties( ... LINK_FLAGS ... )`?
> I think having the ability to pass LINK_FLAGS here might be useful in the future.
I tried, but the manual says that a) you must use `STATIC_LIBRARY_FLAGS` for static libraries, and b) you must use `STATIC_LIBRARY_OPTIONS` in preference to the former, as it sets rather than appends.
Nevertheless, neither of them actually worked for me, and both continued to pass the machine linker flags.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77164/new/
https://reviews.llvm.org/D77164
More information about the llvm-commits
mailing list