Revert "Add an option to disable plugins in clang."

This reverts commit r203320.

There is some order dependency going on that I missed.

llvm-svn: 203321
This commit is contained in:
Rafael Espindola 2014-03-08 00:41:53 +00:00
parent 8c49cd1b06
commit bc28340573
1 changed files with 4 additions and 6 deletions

View File

@ -16,6 +16,9 @@ set( LLVM_LINK_COMPONENTS
Vectorize
)
# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)
add_clang_executable(clang
driver.cpp
cc1_main.cpp
@ -29,13 +32,8 @@ target_link_libraries(clang
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)