summaryrefslogtreecommitdiff
path: root/profiles/releases/23.0/make.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/releases/23.0/make.defaults')
-rw-r--r--profiles/releases/23.0/make.defaults12
1 files changed, 12 insertions, 0 deletions
diff --git a/profiles/releases/23.0/make.defaults b/profiles/releases/23.0/make.defaults
index 7cd1e30dc0a3..c802f3fa3409 100644
--- a/profiles/releases/23.0/make.defaults
+++ b/profiles/releases/23.0/make.defaults
@@ -1,6 +1,9 @@
# 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"
@@ -9,3 +12,12 @@ USE="${USE} -cli"
# bug 849875
USE="${USE} -dri"
+
+# bug 818376
+LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
+
+# 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/*"