From: Peter Korsgaard Date: Tue, 24 Sep 2013 11:35:49 +0000 (+0200) Subject: rrdtool: fix build without threads support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f16e9476f42d13021a352ca633c39e25fe3a547a;p=buildroot.git rrdtool: fix build without threads support Fixes http://autobuild.buildroot.net/results/f7a/f7ab00ddae121ccfc6d54f7eda8ea8ac6df359c2/ Signed-off-by: Peter Korsgaard --- diff --git a/package/rrdtool/rrdtool.mk b/package/rrdtool/rrdtool.mk index 354cff65c4..fe5b872d14 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