public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
Date: Fri, 16 Sep 2022 00:35:18 +0000 (UTC)	[thread overview]
Message-ID: <1663288504.3fa47c76138a86a5d29d30230c0afc1946d46d5b.sam@gentoo> (raw)

commit:     3fa47c76138a86a5d29d30230c0afc1946d46d5b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 00:33:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <Arfrever <AT> Apache.Org>
Thanks-to: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> 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
 


             reply	other threads:[~2022-09-16  0:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16  0:35 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-23 21:12 [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/ Andreas K. Hüttel
2022-09-16  0:55 Sam James
2022-09-10 16:21 Sam James
2022-09-10  3:52 Sam James
2022-07-18 21:50 Andreas K. Hüttel
2022-03-19 17:58 Andreas K. Hüttel
2021-12-11 16:01 Andreas K. Hüttel
2021-12-05 15:32 Andreas K. Hüttel
2021-12-05 11:19 Andreas K. Hüttel
2021-12-05 11:19 Andreas K. Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1663288504.3fa47c76138a86a5d29d30230c0afc1946d46d5b.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox