forked from OSchip/llvm-project
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:
parent
8c49cd1b06
commit
bc28340573
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue