summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2020-02-16 09:31:16 +0100
committerTom Stellard <tstellar@redhat.com>2020-06-17 16:57:30 -0700
commit4b932da77db7405f075fa2519edef6efd41b047c (patch)
treebf47940d8bd2efa28532b2a5e81ad3b8b9df9492 /clang
parent7831c48b06678c2921f725e5e779f8ab00efedf1 (diff)
downloadbcm5719-llvm-4b932da77db7405f075fa2519edef6efd41b047c.tar.gz
bcm5719-llvm-4b932da77db7405f075fa2519edef6efd41b047c.zip
Fix compiler extension in standalone mode
Use a dedicated cmake file to store the extension configured within LLVM. That way, a standalone build of clang can load this cmake file and get all the configured standalone extensions. This patch is related to https://reviews.llvm.org/D74602 Differential Revision: https://reviews.llvm.org/D74757 (cherry picked from commit 3a0f6e699bb6d96dc62dce6faef20ac26cf103fd)
Diffstat (limited to 'clang')
-rw-r--r--clang/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
index 093c2225e52..dc1413f4b59 100644
--- a/clang/CMakeLists.txt
+++ b/clang/CMakeLists.txt
@@ -864,7 +864,7 @@ add_subdirectory(utils/hmaptool)
if(CLANG_BUILT_STANDALONE)
llvm_distribution_add_targets()
- process_llvm_pass_plugins(NO_GEN)
+ process_llvm_pass_plugins()
endif()
configure_file(
OpenPOWER on IntegriCloud