[PATCH] D41930: [Fuchsia] Use llvm-objcopy as objcopy on Linux
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 10 17:33:39 PST 2018
phosek created this revision.
phosek added reviewers: mcgrathr, jakehehrlich.
Herald added subscribers: cfe-commits, mgorny.
llvm-objcopy already supports all the necessary functionality for ELF.
Repository:
rC Clang
https://reviews.llvm.org/D41930
Files:
cmake/caches/Fuchsia-stage2.cmake
Index: cmake/caches/Fuchsia-stage2.cmake
===================================================================
--- cmake/caches/Fuchsia-stage2.cmake
+++ cmake/caches/Fuchsia-stage2.cmake
@@ -17,6 +17,7 @@
if(NOT APPLE)
set(LLVM_ENABLE_LLD ON CACHE BOOL "")
set(CLANG_DEFAULT_LINKER lld CACHE STRING "")
+ set(CLANG_DEFAULT_OBJCOPY llvm-objcopy CACHE STRING "")
endif()
if(APPLE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41930.129378.patch
Type: text/x-patch
Size: 389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180111/763adaa2/attachment.bin>
More information about the cfe-commits
mailing list