summaryrefslogtreecommitdiffstats
path: root/compiler-rt/cmake/Modules
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-02-19 16:53:33 +0000
committerPetr Hosek <phosek@chromium.org>2019-02-19 16:53:33 +0000
commita94e6d70f14f903b47d361161bd2b6bbbe071f85 (patch)
treea1eaab1befeef2407f10943a88b275f95a13f6f4 /compiler-rt/cmake/Modules
parent93dfb452567588ea73988e6becdf7e37bb368b69 (diff)
downloadbcm5719-llvm-a94e6d70f14f903b47d361161bd2b6bbbe071f85.tar.gz
bcm5719-llvm-a94e6d70f14f903b47d361161bd2b6bbbe071f85.zip
[compiler-rt][CMake] Set project for the custom libc++
This is another follow up to r354212 which is broken on Darwin when cross-compiling runtimes to Linux when it ignores the -fuse-ld=lld linker flag and attempts to use the host linker when performing the compiler identification. Upon investigation, I noticed that setting the project with appropriate list of languages makes the error go away and it shouldn't hurt either. Differential Revision: https://reviews.llvm.org/D58372 llvm-svn: 354350
Diffstat (limited to 'compiler-rt/cmake/Modules')
-rw-r--r--compiler-rt/cmake/Modules/CustomLibcxx/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/cmake/Modules/CustomLibcxx/CMakeLists.txt b/compiler-rt/cmake/Modules/CustomLibcxx/CMakeLists.txt
index c644dc2fd5d..683b88e020a 100644
--- a/compiler-rt/cmake/Modules/CustomLibcxx/CMakeLists.txt
+++ b/compiler-rt/cmake/Modules/CustomLibcxx/CMakeLists.txt
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.4.3)
+project(custom-libcxx C CXX)
# Build static libcxxabi.
set(LIBCXXABI_STANDALONE_BUILD 1)
OpenPOWER on IntegriCloud