libclc: Pass system libraries to the linker after llvm libraries
authorTom Stellard <tstellar@redhat.com>
Wed, 29 Apr 2020 22:34:48 +0000 (15:34 -0700)
committerTom Stellard <tstellar@redhat.com>
Wed, 29 Apr 2020 22:34:54 +0000 (15:34 -0700)
commit174c41defc63db4ac7594e00a5044672ff624a31
treef7affe7078de75fc3aa9d9fb344b88e7847a55ad
parente62ff42f79e5b59e3d1331ab9988528aae031a48
libclc: Pass system libraries to the linker after llvm libraries

Summary:
The llvm libraries depend on the symbols in the system libaries, so
the system libraries need to be added after.

Reviewers: jvesely

Reviewed By: jvesely

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78535
libclc/CMakeLists.txt