[Buildroot] [git commit] rrdtool: fix build without threads support

Peter Korsgaard jacmet at sunsite.dk
Tue Sep 24 11:35:49 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=f16e9476f42d13021a352ca633c39e25fe3a547a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes http://autobuild.buildroot.net/results/f7a/f7ab00ddae121ccfc6d54f7eda8ea8ac6df359c2/

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/rrdtool/rrdtool.mk |    3 ++-
 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


More information about the buildroot mailing list