From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A71AF158094 for ; Fri, 16 Sep 2022 00:35:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6086EE0921; Fri, 16 Sep 2022 00:35:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3FE69E0921 for ; Fri, 16 Sep 2022 00:35:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED33533FE26 for ; Fri, 16 Sep 2022 00:35:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5100A5D7 for ; Fri, 16 Sep 2022 00:35:18 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1663288504.3fa47c76138a86a5d29d30230c0afc1946d46d5b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/features/clang/make.defaults X-VCS-Directories: profiles/features/clang/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3fa47c76138a86a5d29d30230c0afc1946d46d5b X-VCS-Branch: master Date: Fri, 16 Sep 2022 00:35:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: baa49b5a-ee45-4ecf-93e4-8c44a258b6fe X-Archives-Hash: 8278ab0fc42f4d07a55d13f81681024d commit: 3fa47c76138a86a5d29d30230c0afc1946d46d5b Author: Sam James gentoo org> AuthorDate: Fri Sep 16 00:33:02 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 16 00:35:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa47c76 profiles/features/clang: add LLVM_USE_LIBCXX, CXXSTDLIB Needed to build some Rust crates like sys-apps/uutils. I'd heard some users mention needing to set this but hadn't poked particularly far (was in the context of trying to do Firefox + libc++ on non-LLVM profiles IIRC). Bug: https://bugs.gentoo.org/732632 Bug: https://bugs.gentoo.org/870280 Thanks-to: Arfrever Frehtes Taifersar Arahesis Apache.Org> Thanks-to: Georgy Yakovlev gentoo.org> Signed-off-by: Sam James gentoo.org> profiles/features/clang/make.defaults | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults index ad06c1d9333f..64627a72aa3e 100644 --- a/profiles/features/clang/make.defaults +++ b/profiles/features/clang/make.defaults @@ -40,6 +40,9 @@ OBJDUMP="llvm-objdump" READELF="llvm-readelf" ADDR2LINE="llvm-addr2line" +# Rust needs this to build some crates (like uutils) +LLVM_USE_LIBCXX=1 +CXXSTDLIB="c++" # bootstrap USE for stage1