From c14916dae7f76938f0d1460a54b71154eaaecb79 Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Mon, 5 Dec 2016 17:52:45 +0000 Subject: [PATCH] [compiler-rt] Remove duplicates from COMPILER_RT_SUPPORTED_ARCH MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- compiler-rt/cmake/config-ix.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake index 25501d8..e18ec40 100644 --- a/compiler-rt/cmake/config-ix.cmake +++ b/compiler-rt/cmake/config-ix.cmake @@ -424,6 +424,7 @@ 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) message(STATUS "Compiler-RT supported architectures: ${COMPILER_RT_SUPPORTED_ARCH}") if(ANDROID) -- 2.7.4