diff options
author | Serge Guelton <sguelton@redhat.com> | 2020-10-05 15:35:38 -0400 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2020-10-14 14:27:25 +0200 |
commit | cde06f783ce9811ed5e6d4c9a4e803b76842eccc (patch) | |
tree | d9acd49f7702111d5c1a281dfe28d31ce5c4f036 /flang/cmake | |
parent | 82a71822a54d76c62bf730d8c0e8e86d68c60159 (diff) | |
download | llvm-cde06f783ce9811ed5e6d4c9a4e803b76842eccc.zip llvm-cde06f783ce9811ed5e6d4c9a4e803b76842eccc.tar.gz llvm-cde06f783ce9811ed5e6d4c9a4e803b76842eccc.tar.bz2 |
[flang] Make flang build compatible with LLVM dylib
Harmonize usage of LLVM components througout Flang.
Explicit LLVM Libs where used across several CMakeFIles, which led to
incompatibilities with LLVM shlibs.
Fortunately, the LLVM component system can be relied on to harmoniously handle
both cases.
Differential Revision: https://reviews.llvm.org/D87893
Diffstat (limited to 'flang/cmake')
-rw-r--r-- | flang/cmake/modules/AddFlang.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/flang/cmake/modules/AddFlang.cmake b/flang/cmake/modules/AddFlang.cmake index 7fe8b7e..ba36a23 100644 --- a/flang/cmake/modules/AddFlang.cmake +++ b/flang/cmake/modules/AddFlang.cmake @@ -61,7 +61,6 @@ macro(add_flang_library name) llvm_add_library(${name} ${LIBTYPE} ${ARG_UNPARSED_ARGUMENTS} ${srcs}) if (TARGET ${name}) - target_link_libraries(${name} INTERFACE ${LLVM_COMMON_LIBS}) if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "libflang") set(export_to_flangtargets) |