New commits:
commit fdce9c3566651ca98207569153529a8166c991e4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
python3: Add LTO knob
commit 85b0d317292765567957d6aef4bc2ab0fd0e336e
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
binutils: Add LTO sub-dep
diff --git a/devel/binutils/CONFIGURE b/devel/binutils/CONFIGURE
index 05cfc30..e584ff3 100755
--- a/devel/binutils/CONFIGURE
+++ b/devel/binutils/CONFIGURE
@@ -1,4 +1,4 @@
config_query BINUTILS_LIBIBERTY \
"Install libiberty (required by some other packages)?" n
config_query_list BINUTILS_LINKER 'which default linker' gold bfd
-config_query BINUTILS_LTO "enable link-time optimisation" n
+config_query BINUTILS_LTO "enable link-time optimisation support" n
diff --git a/devel/binutils/HISTORY b/devel/binutils/HISTORY
index e60a524..8039591 100644
--- a/devel/binutils/HISTORY
+++ b/devel/binutils/HISTORY
@@ -1,3 +1,7 @@
+2025-01-18 Ismael Luceno <ismael AT sourcemage.org>
+ * SUB_DEPENDS, PRE_SUB_DEPENDS: added LTO
+ * CONFIGURE: clarified LTO option
+
2024-08-17 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 2.43.1
diff --git a/devel/binutils/PRE_SUB_DEPENDS b/devel/binutils/PRE_SUB_DEPENDS
index a892d5f..3111f52 100755
--- a/devel/binutils/PRE_SUB_DEPENDS
+++ b/devel/binutils/PRE_SUB_DEPENDS
@@ -1,6 +1,7 @@
case $THIS_SUB_DEPENDS in
-LIBERTY) [[ "${BINUTILS_LIBIBERTY}" == "y" ]] ;;
- *)
+(LIBERTY) [[ "${BINUTILS_LIBIBERTY}" == "y" ]] ;;
+( LTO) [[ "${BINUTILS_LTO}" == "y" ]] ;;
+( *)
message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
return 1
;;
diff --git a/devel/binutils/SUB_DEPENDS b/devel/binutils/SUB_DEPENDS
index 0ab2cb4..8037907 100755
--- a/devel/binutils/SUB_DEPENDS
+++ b/devel/binutils/SUB_DEPENDS
@@ -1,9 +1,13 @@
case $THIS_SUB_DEPENDS in
-LIBERTY)
+(LIBERTY)
message "${MESSAGE_COLOR}Install of libiberty enforced by
sub-dependency.$DEFAULT_COLOR"
BINUTILS_LIBIBERTY=y
;;
- *)
+(LTO)
+ message "${MESSAGE_COLOR}LTO support enforced by
sub-dependency.$DEFAULT_COLOR"
+ BINUTILS_LTO=y
+;;
+( *)
message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
return 1
;;
diff --git a/devel/python3/BUILD b/devel/python3/BUILD
index b560422..15368bb 100755
--- a/devel/python3/BUILD
+++ b/devel/python3/BUILD
@@ -6,7 +6,6 @@ if [[ "${PYTHON3_BRANCH}" != "devel" &&
"${PYTHON3_BRANCH}" != "3.13" ]]; then
OPTS+=" --enable-optimizations"
fi &&
-OPTS+=" --with-lto" &&
OPTS+=" --with-computed-gotos" &&
OPTS="$OPTS --build=${BUILD}"
diff --git a/devel/python3/CONFIGURE b/devel/python3/CONFIGURE
index c73a640..0edc39c 100755
--- a/devel/python3/CONFIGURE
+++ b/devel/python3/CONFIGURE
@@ -2,6 +2,11 @@ config_query PY3K "Use Python 3 as primary version on the
system?" n &&
config_query SYMLINK "create symlinks for python -> python3" n &&