summaryrefslogtreecommitdiff
path: root/profiles/releases/23.0/make.defaults
blob: b833954ae2f825ca19182b4e083c7e9b45960ee6 (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
27
28
29
30
# 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>
# (re-enable after one round of stage rebuilds)
#USE="${USE} openmp"

# bug 831045
USE="${USE} -cli"

# 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"