summaryrefslogtreecommitdiffstats
path: root/package/btrfs-progs/btrfs-progs.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-10-07 11:13:17 -0300
committerPeter Korsgaard <peter@korsgaard.com>2014-10-07 16:21:50 +0200
commit65cf9e9291716f713b4bd4cd0b2422033908ef0c (patch)
treed3af217c0d0f628f2e66378d8c485464f70e8c01 /package/btrfs-progs/btrfs-progs.mk
parentf0054f12575265ae09e87163aec7d8fe1260e8b9 (diff)
downloadbuildroot-65cf9e9291716f713b4bd4cd0b2422033908ef0c.tar.gz
buildroot-65cf9e9291716f713b4bd4cd0b2422033908ef0c.zip
btrfs-progs: fix build breakage on uClibc without backtrace
uClibc has optional support for backtrace() hence on default configurations where it's disabled it'll fail. Add patch to make backtrace support conditional and disable it for uClibc-based builds since it's mostly for debugging purposes. Fixes: http://autobuild.buildroot.net/results/325/32523398a8c66a7ac6d3e789332d1b57e090aef1/ Patch status: sent upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/btrfs-progs/btrfs-progs.mk')
-rw-r--r--package/btrfs-progs/btrfs-progs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/btrfs-progs/btrfs-progs.mk b/package/btrfs-progs/btrfs-progs.mk
index 154cb98787..d0b56cd176 100644
--- a/package/btrfs-progs/btrfs-progs.mk
+++ b/package/btrfs-progs/btrfs-progs.mk
@@ -8,10 +8,11 @@ BTRFS_PROGS_VERSION = 3.16.2
BTRFS_PROGS_SITE = https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs
BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
BTRFS_PROGS_DEPENDENCIES = acl attr e2fsprogs lzo util-linux zlib
+BTRFS_PROGS_MAKE_FLAGS = DISABLE_DOCUMENTATION=1 \
+ $(if $(BR2_TOOLCHAIN_USES_UCLIBC),DISABLE_BACKTRACE=1)
BTRFS_PROGS_LICENSE = GPLv2
BTRFS_PROGS_LICENSE_FILES = COPYING
-BTRFS_PROGS_MAKE_FLAGS = DISABLE_DOCUMENTATION=1
ifeq ($(BR2_PREFER_STATIC_LIB),y)
BTRFS_PROGS_MAKE_TARGET = static
OpenPOWER on IntegriCloud