[PATCH] D69003: [dsymutil] Explicitly link against libatomic when necessary
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 17 14:36:30 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG09856feb3cc1: [dsymutil] Explicitly link against libatomic when necessary (authored by gokturk, committed by luismarques).
Herald added a subscriber: luismarques.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69003/new/
https://reviews.llvm.org/D69003
Files:
llvm/tools/dsymutil/CMakeLists.txt
Index: llvm/tools/dsymutil/CMakeLists.txt
===================================================================
--- llvm/tools/dsymutil/CMakeLists.txt
+++ llvm/tools/dsymutil/CMakeLists.txt
@@ -37,3 +37,7 @@
if(APPLE)
target_link_libraries(dsymutil PRIVATE "-framework CoreFoundation")
endif(APPLE)
+
+if(HAVE_CXX_ATOMICS_WITH_LIB OR HAVE_CXX_ATOMICS64_WITH_LIB)
+ target_link_libraries(dsymutil PRIVATE atomic)
+endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69003.245038.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/c77ca0af/attachment.bin>
More information about the llvm-commits
mailing list