commit: 4db4564e99c03779fb7121a64d48240e9d773939 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Fri Oct 1 18:42:34 2021 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Fri Oct 1 18:43:36 2021 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=4db4564e
gkbuilds/btrfs-progs: Disable backtrace on non-glibc systems Bug: https://bugs.gentoo.org/815676 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> gkbuilds/btrfs-progs.gkbuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gkbuilds/btrfs-progs.gkbuild b/gkbuilds/btrfs-progs.gkbuild index b55bd34..48b9e6d 100644 --- a/gkbuilds/btrfs-progs.gkbuild +++ b/gkbuilds/btrfs-progs.gkbuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 src_configure() { @@ -10,6 +10,14 @@ src_configure() { --disable-documentation ) + if isTrue "$(is_glibc)" + then + myconf+=( --enable-backtrace ) + else + # backtrace does not work on musl, bug #815676 + myconf+=( --disable-backtrace ) + fi + gkconf "${myconf[@]}" }
