diff options
Diffstat (limited to 'clang/tools/driver/CMakeLists.txt')
| -rw-r--r-- | clang/tools/driver/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/driver/CMakeLists.txt b/clang/tools/driver/CMakeLists.txt index c003df84862..9442ba65da9 100644 --- a/clang/tools/driver/CMakeLists.txt +++ b/clang/tools/driver/CMakeLists.txt @@ -16,11 +16,11 @@ set( LLVM_LINK_COMPONENTS Vectorize ) -option(CLANG_IS_PRODUCTION "Build clang without plugin support" OFF) +option(CLANG_PLUGIN_SUPPORT "Build clang with plugin support" ON) # Support plugins. This must be before add_clang_executable as it reads # LLVM_NO_DEAD_STRIP. -if(NOT CLANG_IS_PRODUCTION) +if(CLANG_PLUGIN_SUPPORT) set(LLVM_NO_DEAD_STRIP 1) endif() @@ -40,7 +40,7 @@ target_link_libraries(clang set_target_properties(clang PROPERTIES VERSION ${CLANG_EXECUTABLE_VERSION}) # Support plugins. -if(NOT CLANG_IS_PRODUCTION) +if(CLANG_PLUGIN_SUPPORT) set_target_properties(clang PROPERTIES ENABLE_EXPORTS 1) endif() |

