b353ce1315
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 lines
516 B
Makefile
19 lines
516 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="$(TARGET_CXXFLAGS) -DNO_THREADS"
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|