libclc: Don't pass linker flags to CLC/LLAsm
authorDaniel Stone <daniels@collabora.com>
Tue, 14 Apr 2020 04:41:29 +0000 (00:41 -0400)
committerJan Vesely <jano.vesely@gmail.com>
Tue, 14 Apr 2020 14:03:27 +0000 (10:03 -0400)
commitcccdd0579b5027d0a21fd2dbc0a6a50330134976
tree27cda5399883b73c19cde74cc1b0059fa8181c5f
parentacf079006e6dbdd23300e9289cc8d8197aab5fb5
libclc: Don't pass linker flags to CLC/LLAsm

We don't want the regular linker flags for these invocations, since
we're not compiling to the target machine anyway. This fixes things like
'/machine:x64' being unknown when invoked under Windows.

reviewer: jvesely
Differential Revision: https://reviews.llvm.org/D77164
libclc/cmake/CMakeCLCInformation.cmake
libclc/cmake/CMakeLLAsmInformation.cmake