mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
4b8b6d670b
commit
33d1e7cf0f
@@ -11,7 +11,7 @@ GFLAGS_LICENSE = BSD-3c
|
|||||||
GFLAGS_LICENSE_FILES = COPYING.txt
|
GFLAGS_LICENSE_FILES = COPYING.txt
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
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
|
endif
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user