From 2e6b794bf4361b8ae32bb6945e84696c2e1d94ba Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Mar 2023 01:36:14 +0000 Subject: gentoo auto-resync : 04:03:2023 - 01:36:13 --- profiles/features/llvm/package.use | 5 +++-- profiles/features/llvm/package.use.force | 10 ++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 profiles/features/llvm/package.use.force (limited to 'profiles/features') diff --git a/profiles/features/llvm/package.use b/profiles/features/llvm/package.use index 267fafefe792..e878f28f7454 100644 --- a/profiles/features/llvm/package.use +++ b/profiles/features/llvm/package.use @@ -1,9 +1,10 @@ +# Make static linking work by default for simple binaries (bug #892956) +sys-libs/llvm-libunwind static-libs + # use lld by default sys-devel/llvm -binutils-plugin # use all defaults -sys-devel/clang default-compiler-rt default-lld default-libcxx llvm-libunwind -sys-devel/clang-common default-compiler-rt default-lld default-libcxx llvm-libunwind sys-libs/compiler-rt clang # disable sanitizers for now diff --git a/profiles/features/llvm/package.use.force b/profiles/features/llvm/package.use.force new file mode 100644 index 000000000000..669f1f86ad87 --- /dev/null +++ b/profiles/features/llvm/package.use.force @@ -0,0 +1,10 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Sam James (2023-03-03) +# Force the toolchain environment we expect on the LLVM profiles. +# default-libcxx in particular changes ABI so can't be toggled at-will, and other +# profile settings expect it. +# TODO: Make a profile without default-libcxx too? +sys-devel/clang default-compiler-rt default-lld default-libcxx +sys-devel/clang-common default-compiler-rt default-lld default-libcxx -- cgit v1.2.3