From owner-svn-src-head@freebsd.org Tue Oct 31 00:03:52 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1891E2F965; Tue, 31 Oct 2017 00:03:52 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B108777B13; Tue, 31 Oct 2017 00:03:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9V03kfS047022; Tue, 31 Oct 2017 00:03:46 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9V03kWE047021; Tue, 31 Oct 2017 00:03:46 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201710310003.v9V03kWE047021@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Tue, 31 Oct 2017 00:03:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325184 - head/targets/pseudo/clang X-SVN-Group: head X-SVN-Commit-Author: bdrewery X-SVN-Commit-Paths: head/targets/pseudo/clang X-SVN-Commit-Revision: 325184 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 00:03:53 -0000 Author: bdrewery Date: Tue Oct 31 00:03:46 2017 New Revision: 325184 URL: https://svnweb.freebsd.org/changeset/base/325184 Log: Provide clang-rt for the clang toolchain as well. Sponsored by: Dell EMC Isilon Modified: head/targets/pseudo/clang/Makefile.depend Modified: head/targets/pseudo/clang/Makefile.depend ============================================================================== --- head/targets/pseudo/clang/Makefile.depend Tue Oct 31 00:03:43 2017 (r325183) +++ head/targets/pseudo/clang/Makefile.depend Tue Oct 31 00:03:46 2017 (r325184) @@ -12,6 +12,28 @@ DIRDEPS = \ usr.bin/clang/llvm-objdump \ usr.bin/clang/llvm-tblgen \ +.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" +DIRDEPS+= \ + lib/libclang_rt/include \ + lib/libclang_rt/asan \ + lib/libclang_rt/asan-preinit \ + lib/libclang_rt/asan_dynamic \ + lib/libclang_rt/asan_cxx \ + lib/libclang_rt/safestack \ + lib/libclang_rt/stats \ + lib/libclang_rt/stats_client \ + lib/libclang_rt/ubsan_standalone \ + lib/libclang_rt/ubsan_standalone_cxx \ + +.endif + +.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \ + (${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb") +DIRDEPS+= \ + lib/libclang_rt/profile \ + +.endif + .if ${MK_LLDB} == "yes" DIRDEPS+= \ usr.bin/clang/lldb