From: Rafael Espindola Date: Sat, 8 Mar 2014 00:41:53 +0000 (+0000) Subject: Revert "Add an option to disable plugins in clang." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a82e0ce26baadd96c0dd48b2f4a52240ce9a0461;p=clang Revert "Add an option to disable plugins in clang." 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 --- diff --git a/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt index 4a7b62a0b2..289de3d0fa 100644 --- a/tools/driver/CMakeLists.txt +++ b/tools/driver/CMakeLists.txt @@ -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)