aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-10-01 20:42:34 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-10-01 20:43:36 +0200
commit4db4564e99c03779fb7121a64d48240e9d773939 (patch)
tree08d145104cb8626cd2e0a138ef68234d64596c7f /gkbuilds/btrfs-progs.gkbuild
parentgen_initramfs.sh: append_modprobed(): Adopt changes from sys-apps/baselayout-2.8 (diff)
downloadgenkernel-4db4564e99c03779fb7121a64d48240e9d773939.tar.gz
genkernel-4db4564e99c03779fb7121a64d48240e9d773939.tar.bz2
genkernel-4db4564e99c03779fb7121a64d48240e9d773939.zip
gkbuilds/btrfs-progs: Disable backtrace on non-glibc systems
Bug: https://bugs.gentoo.org/815676 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gkbuilds/btrfs-progs.gkbuild')
-rw-r--r--gkbuilds/btrfs-progs.gkbuild10
1 files changed, 9 insertions, 1 deletions
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[@]}"
}