Port r198087 and r198089 (strip dead code by default) from make to cmake.
[oota-llvm.git] / tools / bugpoint / CMakeLists.txt
index 7e7ad0e94cf000d27e85ecb14439c18feb5c1393..14f5a3b004b450a02dd4823668fc4304827bc29c 100644 (file)
@@ -16,6 +16,9 @@ set(LLVM_LINK_COMPONENTS
   Vectorize
   )
 
+# Support plugins.
+set(LLVM_NO_DEAD_STRIP 1)
+
 add_llvm_tool(bugpoint
   BugDriver.cpp
   CrashDebugger.cpp