kumquat-buildroot/package/gflags/gflags.mk
Rahul Bedarkar 33d1e7cf0f 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>
2015-06-11 22:08:35 +02:00

18 lines
492 B
Makefile

################################################################################
#
# gflags
#
################################################################################
GFLAGS_VERSION = v2.1.2
GFLAGS_SITE = $(call github,gflags,gflags,$(GFLAGS_VERSION))
GFLAGS_INSTALL_STAGING = YES
GFLAGS_LICENSE = BSD-3c
GFLAGS_LICENSE_FILES = COPYING.txt
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF -DCMAKE_CXX_FLAGS=-DNO_THREADS
endif
$(eval $(cmake-package))