2015-06-10 07:50:48 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gflags
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-02-21 15:01:27 +01:00
|
|
|
GFLAGS_VERSION = v2.2.0
|
2015-06-10 07:50:48 +02:00
|
|
|
GFLAGS_SITE = $(call github,gflags,gflags,$(GFLAGS_VERSION))
|
|
|
|
GFLAGS_INSTALL_STAGING = YES
|
2017-03-30 15:43:38 +02:00
|
|
|
GFLAGS_LICENSE = BSD-3-Clause
|
2015-06-10 07:50:48 +02:00
|
|
|
GFLAGS_LICENSE_FILES = COPYING.txt
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
2016-10-16 13:12:40 +02:00
|
|
|
GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF \
|
|
|
|
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -DNO_THREADS"
|
2015-06-10 07:50:48 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|