summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>2015-06-11 15:10:38 +0530
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-11 22:08:35 +0200
commit33d1e7cf0faf0f334f9c48c724d97d1051624c8e (patch)
treeee6026e7133dd6cbb661b79e156d9ecc51c31d95 /package
parent4b8b6d670b2924a069d0e189f781b1dcafbf9ce3 (diff)
gflags: define NO_THREADS if toolchain doesn't support threads
Fixes: http://autobuild.buildroot.net/results/a42/a4288ed5050ce0d14e589745bf26c0a95acf645e/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/gflags/gflags.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gflags/gflags.mk b/package/gflags/gflags.mk
index 661dad872..9dc4e15b6 100644
--- a/package/gflags/gflags.mk
+++ b/package/gflags/gflags.mk
@@ -11,7 +11,7 @@ GFLAGS_LICENSE = BSD-3c
GFLAGS_LICENSE_FILES = COPYING.txt
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
-GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF
+GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF -DCMAKE_CXX_FLAGS=-DNO_THREADS
endif
$(eval $(cmake-package))