summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-15 06:12:19 +0100
committerSam James <sam@gentoo.org>2023-04-15 06:12:36 +0100
commit2c822b9ad45a7b13c5ebe9775378b1e13614b08e (patch)
tree6f954d48b3190d15bd248dd343af92411cf37ad3 /sys-apps/busybox
parentdev-util/perf: fix build w/ clang 16 (diff)
downloadgentoo-2c822b9ad45a7b13c5ebe9775378b1e13614b08e.tar.gz
gentoo-2c822b9ad45a7b13c5ebe9775378b1e13614b08e.tar.bz2
gentoo-2c822b9ad45a7b13c5ebe9775378b1e13614b08e.zip
sys-apps/busybox: print link lines verbosely
Noticed when trying to debug a bfd hang. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/busybox')
-rw-r--r--sys-apps/busybox/busybox-1.34.1-r2.ebuild3
-rw-r--r--sys-apps/busybox/busybox-1.35.0-r2.ebuild3
-rw-r--r--sys-apps/busybox/busybox-9999.ebuild5
3 files changed, 10 insertions, 1 deletions
diff --git a/sys-apps/busybox/busybox-1.34.1-r2.ebuild b/sys-apps/busybox/busybox-1.34.1-r2.ebuild
index d9a0625448df..ffc3063a4cc6 100644
--- a/sys-apps/busybox/busybox-1.34.1-r2.ebuild
+++ b/sys-apps/busybox/busybox-1.34.1-r2.ebuild
@@ -108,6 +108,9 @@ src_prepare() {
sed -i \
-e 's:-static-libgcc::' \
Makefile.flags || die
+
+ # Print all link lines too
+ sed -i -e 's:debug=false:debug=true:' scripts/trylink || die
}
src_configure() {
diff --git a/sys-apps/busybox/busybox-1.35.0-r2.ebuild b/sys-apps/busybox/busybox-1.35.0-r2.ebuild
index ba000099c692..711785eae12b 100644
--- a/sys-apps/busybox/busybox-1.35.0-r2.ebuild
+++ b/sys-apps/busybox/busybox-1.35.0-r2.ebuild
@@ -109,6 +109,9 @@ src_prepare() {
sed -i \
-e 's:-static-libgcc::' \
Makefile.flags || die
+
+ # Print all link lines too
+ sed -i -e 's:debug=false:debug=true:' scripts/trylink || die
}
src_configure() {
diff --git a/sys-apps/busybox/busybox-9999.ebuild b/sys-apps/busybox/busybox-9999.ebuild
index 6450127bf54b..51f115d22ffb 100644
--- a/sys-apps/busybox/busybox-9999.ebuild
+++ b/sys-apps/busybox/busybox-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# See `man savedconfig.eclass` for info on how to use USE=savedconfig.
@@ -105,6 +105,9 @@ src_prepare() {
sed -i \
-e 's:-static-libgcc::' \
Makefile.flags || die
+
+ # Print all link lines too
+ sed -i -e 's:debug=false:debug=true:' scripts/trylink || die
}
src_configure() {