summaryrefslogtreecommitdiff
blob: 1e73a1f8de78192a20731fd2796c93c37f2a0c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# See also 
# https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_profile_transition

# This just makes sense nowadays, if only for distfiles...
USE="lzma zstd"

# make sure toolchain has sane defaults <toolchain@gentoo.org>
USE="${USE} openmp"

# bug 849875
USE="${USE} -dri"

# bug 818376 (only on specific arches)
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

# copied from merged-usr feature
# Mike Gilbert <floppym@gentoo.org> (2022-08-31)
# Avoid removing merged-usr symlinks.
UNINSTALL_IGNORE="${UNINSTALL_IGNORE} /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin"
UNINSTALL_IGNORE="${UNINSTALL_IGNORE} /usr/lib/modules/*"

# needed for llvm profiles
BOOTSTRAP_USE="${BOOTSTRAP_USE} zstd"