diff --git a/tools/llc/CMakeLists.txt b/tools/llc/CMakeLists.txt index e5a5550e9ea..97c762b7f6f 100644 --- a/tools/llc/CMakeLists.txt +++ b/tools/llc/CMakeLists.txt @@ -3,3 +3,4 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser irreader) add_llvm_tool(llc llc.cpp ) +set_target_properties(llc PROPERTIES ENABLE_EXPORTS 1) diff --git a/tools/lli/CMakeLists.txt b/tools/lli/CMakeLists.txt index 5f8c7c92613..da48e6d215c 100644 --- a/tools/lli/CMakeLists.txt +++ b/tools/lli/CMakeLists.txt @@ -25,3 +25,4 @@ add_llvm_tool(lli RemoteTarget.cpp RemoteTargetExternal.cpp ) +set_target_properties(lli PROPERTIES ENABLE_EXPORTS 1) diff --git a/tools/llvm-stress/CMakeLists.txt b/tools/llvm-stress/CMakeLists.txt index e2d07a5dda2..ff3a5c42a07 100644 --- a/tools/llvm-stress/CMakeLists.txt +++ b/tools/llvm-stress/CMakeLists.txt @@ -3,3 +3,4 @@ set(LLVM_LINK_COMPONENTS bitreader asmparser bitwriter instrumentation scalaropt add_llvm_tool(llvm-stress llvm-stress.cpp ) +set_target_properties(llvm-stress PROPERTIES ENABLE_EXPORTS 1) diff --git a/tools/llvm-stress/Makefile b/tools/llvm-stress/Makefile index 8767cbe4176..29245af7298 100644 --- a/tools/llvm-stress/Makefile +++ b/tools/llvm-stress/Makefile @@ -12,7 +12,4 @@ TOOLNAME := llvm-stress LINK_COMPONENTS := object LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts ipo -# This tool has no plugins, optimize startup time. -TOOL_NO_EXPORTS = 1 - include $(LEVEL)/Makefile.common