summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-03-15 18:25:36 +0000
committerChris Bieneman <beanz@apple.com>2016-03-15 18:25:36 +0000
commit4ec7f3f47db01e50b6de09a455e896eda9a5bf0b (patch)
tree0a3bc8f289448f1c6ad02a71ea0b96cf7758e2e2 /clang
parent15fa03547786488d8e8bd14ad0443fb581302388 (diff)
downloadbcm5719-llvm-4ec7f3f47db01e50b6de09a455e896eda9a5bf0b.tar.gz
bcm5719-llvm-4ec7f3f47db01e50b6de09a455e896eda9a5bf0b.zip
[CMake] Defaulting CLANG_VENDOR to PACKAGE_VENDOR
LLVM r263566 adds a generic PACKAGE_VENDOR configuration which can be used to specify the vendor for LLVM toolchain tools. This change defaults the CLANG_VENDOR to the PACKAGE_VENDOR so that you don't have to specify both when building a package. llvm-svn: 263570
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 b34c21a432d..e4adc8ccbd0 100644
--- a/clang/CMakeLists.txt
+++ b/clang/CMakeLists.txt
@@ -209,7 +209,7 @@ endif()
set(CLANG_DEFAULT_OPENMP_RUNTIME "libomp" CACHE STRING
"Default OpenMP runtime used by -fopenmp.")
-set(CLANG_VENDOR "" CACHE STRING
+set(CLANG_VENDOR ${PACKAGE_VENDOR} CACHE STRING
"Vendor-specific text for showing with version information.")
if( CLANG_VENDOR )
OpenPOWER on IntegriCloud