Skip to content

Commit c14916d

Browse files
committedDec 5, 2016
[compiler-rt] Remove duplicates from COMPILER_RT_SUPPORTED_ARCH
Since we’re adding an entry into COMPILER_RT_SUPPORTED_ARCH for all architectures of all Darwin platforms, COMPILER_RT_SUPPORTED_ARCH often ends up having duplicate items. Let’s remove them. Differential Revision: https://reviews.llvm.org/D25996 llvm-svn: 288681
1 parent 6d12eae commit c14916d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎compiler-rt/cmake/config-ix.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ endif()
424424

425425
find_program(GOLD_EXECUTABLE NAMES ${LLVM_DEFAULT_TARGET_TRIPLE}-ld.gold ld.gold ${LLVM_DEFAULT_TARGET_TRIPLE}-ld ld DOC "The gold linker")
426426

427+
list(REMOVE_DUPLICATES COMPILER_RT_SUPPORTED_ARCH)
427428
message(STATUS "Compiler-RT supported architectures: ${COMPILER_RT_SUPPORTED_ARCH}")
428429

429430
if(ANDROID)

0 commit comments

Comments
 (0)
Please sign in to comment.