[PATCH] D54655: [CMake] Use lld and llvm-objcopy for first stage compiler in Fuchsia
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 16 15:09:39 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL347108: [CMake] Use lld and llvm-objcopy for first stage compiler in Fuchsia (authored by phosek, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D54655?vs=174462&id=174463#toc
Repository:
rL LLVM
https://reviews.llvm.org/D54655
Files:
cfe/trunk/cmake/caches/Fuchsia.cmake
Index: cfe/trunk/cmake/caches/Fuchsia.cmake
===================================================================
--- cfe/trunk/cmake/caches/Fuchsia.cmake
+++ cfe/trunk/cmake/caches/Fuchsia.cmake
@@ -22,6 +22,10 @@
set(BOOTSTRAP_LLVM_ENABLE_LLD ON CACHE BOOL "")
endif()
+if(NOT APPLE)
+ set(CLANG_DEFAULT_LINKER lld CACHE STRING "")
+ set(CLANG_DEFAULT_OBJCOPY llvm-objcopy CACHE STRING "")
+endif()
set(CLANG_DEFAULT_CXX_STDLIB libc++ CACHE STRING "")
set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54655.174463.patch
Type: text/x-patch
Size: 517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181116/8f9f378f/attachment-0001.bin>
More information about the cfe-commits
mailing list