This reverts commit r203320.
There is some order dependency going on that I missed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203321
91177308-0d34-0410-b5e6-
96231b3b80d8
Vectorize
)
+# Support plugins.
+set(LLVM_NO_DEAD_STRIP 1)
+
add_clang_executable(clang
driver.cpp
cc1_main.cpp
clangFrontendTool
)
-if(NOT CLANG_IS_PRODUCTION)
- # Support plugins.
- set(LLVM_NO_DEAD_STRIP 1)
- set_target_properties(clang PROPERTIES ENABLE_EXPORTS 1)
-endif()
-
set_target_properties(clang PROPERTIES VERSION ${CLANG_EXECUTABLE_VERSION})
+set_target_properties(clang PROPERTIES ENABLE_EXPORTS 1)
add_dependencies(clang clang-headers)