Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: tools/pnacl-llc/CMakeLists.txt

Issue 940243003: PNaCl localmod mods in LLVM to 223109 (local files only) (Closed)
Patch Set: xx Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/pnacl-llc/CMakeLists.txt
diff --git a/tools/pnacl-llc/CMakeLists.txt b/tools/pnacl-llc/CMakeLists.txt
index e8325d09b1ed8b50ad928e39ffd451c26bca8911..2eec8a8abc50c27a6a417611cbe37a1212689f0a 100644
--- a/tools/pnacl-llc/CMakeLists.txt
+++ b/tools/pnacl-llc/CMakeLists.txt
@@ -1,5 +1,17 @@
-set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader naclbitreader
- irreader asmparser naclanalysis nacltransforms)
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ BitReader
+ CodeGen
+ Core
+ IRReader
+ MC
+ NaClAnalysis
+ NaClBitReader
+ NaClTransforms
+ ScalarOpts
+ SelectionDAG
+ Support
+ Target)
add_llvm_tool(pnacl-llc
srpc_main.cpp
@@ -7,3 +19,7 @@ add_llvm_tool(pnacl-llc
pnacl-llc.cpp
ThreadedStreamingCache.cpp
)
+
+if(LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD)
+ target_link_libraries(pnacl-llc pthread)
+endif()

Powered by Google App Engine
This is Rietveld 408576698