summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-09-24 11:35:49 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-09-24 11:35:49 (GMT)
commitf16e9476f42d13021a352ca633c39e25fe3a547a (patch)
treea595056aa08edf50967d0fb634ac08a32b6def72
parentdfcb93aa5cfead618335aa2d30adc3f60a2b2d0c (diff)
downloadbuildroot-f16e9476f42d13021a352ca633c39e25fe3a547a.tar.gz
buildroot-f16e9476f42d13021a352ca633c39e25fe3a547a.tar.bz2
rrdtool: fix build without threads support
Fixes http://autobuild.buildroot.net/results/f7a/f7ab00ddae121ccfc6d54f7eda8ea8ac6df359c2/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/rrdtool/rrdtool.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/rrdtool/rrdtool.mk b/package/rrdtool/rrdtool.mk
index 354cff6..fe5b872 100644
--- a/package/rrdtool/rrdtool.mk
+++ b/package/rrdtool/rrdtool.mk
@@ -15,7 +15,8 @@ RRDTOOL_INSTALL_STAGING = YES
RRDTOOL_CONF_ENV = rd_cv_ieee_works=yes rd_cv_null_realloc=nope \
ac_cv_func_mmap_fixed_mapped=yes
RRDTOOL_CONF_OPT = --disable-perl --disable-python --disable-ruby \
- --disable-tcl --program-transform-name=''
+ --disable-tcl --program-transform-name='' \
+ $(if $(BR2_TOOLCHAIN_HAS_THREADS),,--disable-pthread)
RRDTOOL_MAKE = $(MAKE1)
define RRDTOOL_REMOVE_EXAMPLES