projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
902ae3c
)
Fix simple cmake error when COMPILER_RT_SUPPORTED_ARCH is empty.
author
Marcos Pividori
<mpividori@google.com>
Thu, 15 Dec 2016 01:21:04 +0000
(
01:21
+0000)
committer
Marcos Pividori
<mpividori@google.com>
Thu, 15 Dec 2016 01:21:04 +0000
(
01:21
+0000)
Differential Revision: https://reviews.llvm.org/D27719
llvm-svn: 289749
compiler-rt/cmake/config-ix.cmake
patch
|
blob
|
history
diff --git
a/compiler-rt/cmake/config-ix.cmake
b/compiler-rt/cmake/config-ix.cmake
index
ae9f392
..
4ea0657
100644
(file)
--- a/
compiler-rt/cmake/config-ix.cmake
+++ b/
compiler-rt/cmake/config-ix.cmake
@@
-417,7
+417,9
@@
endif()
find_program(GOLD_EXECUTABLE NAMES ${LLVM_DEFAULT_TARGET_TRIPLE}-ld.gold ld.gold ${LLVM_DEFAULT_TARGET_TRIPLE}-ld ld DOC "The gold linker")
-list(REMOVE_DUPLICATES COMPILER_RT_SUPPORTED_ARCH)
+if(COMPILER_RT_SUPPORTED_ARCH)
+ list(REMOVE_DUPLICATES COMPILER_RT_SUPPORTED_ARCH)
+endif()
message(STATUS "Compiler-RT supported architectures: ${COMPILER_RT_SUPPORTED_ARCH}")
if(ANDROID)