Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: gkbuilds/
Date: Fri, 01 Oct 2021 18:44:04
Message-Id: 1633113816.4db4564e99c03779fb7121a64d48240e9d773939.whissi@gentoo
1 commit: 4db4564e99c03779fb7121a64d48240e9d773939
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 1 18:42:34 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 1 18:43:36 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=4db4564e
7
8 gkbuilds/btrfs-progs: Disable backtrace on non-glibc systems
9
10 Bug: https://bugs.gentoo.org/815676
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 gkbuilds/btrfs-progs.gkbuild | 10 +++++++++-
14 1 file changed, 9 insertions(+), 1 deletion(-)
15
16 diff --git a/gkbuilds/btrfs-progs.gkbuild b/gkbuilds/btrfs-progs.gkbuild
17 index b55bd34..48b9e6d 100644
18 --- a/gkbuilds/btrfs-progs.gkbuild
19 +++ b/gkbuilds/btrfs-progs.gkbuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 src_configure() {
26 @@ -10,6 +10,14 @@ src_configure() {
27 --disable-documentation
28 )
29
30 + if isTrue "$(is_glibc)"
31 + then
32 + myconf+=( --enable-backtrace )
33 + else
34 + # backtrace does not work on musl, bug #815676
35 + myconf+=( --disable-backtrace )
36 + fi
37 +
38 gkconf "${myconf[@]}"
39 }