mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -4,25 +4,19 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GLOG_VERSION = 0.3.5
|
||||
GLOG_VERSION = 0.4.0
|
||||
GLOG_SITE = $(call github,google,glog,v$(GLOG_VERSION))
|
||||
GLOG_INSTALL_STAGING = YES
|
||||
GLOG_LICENSE = BSD-3-Clause
|
||||
GLOG_LICENSE_FILES = COPYING
|
||||
GLOG_CONF_OPTS = \
|
||||
$(if $(BR2_TOOLCHAIN_HAS_THREADS),-DWITH_THREADS=ON, -DWITH_THREADS=OFF)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GFLAGS),y)
|
||||
GLOG_DEPENDENCIES = gflags
|
||||
GLOG_CONF_OPTS += -DWITH_GFLAGS=ON
|
||||
else
|
||||
GLOG_CONF_OPTS += -DWITH_GFLAGS=OFF
|
||||
endif
|
||||
|
||||
# glog can optionally use atomic __sync built-ins. However, its
|
||||
# configure script only checks for the availability of the 4 bytes
|
||||
# version, but the code also uses the 1 byte version. While this works
|
||||
# on most architectures, it does not on architectures that implement
|
||||
# only the 4 bytes version, such as Microblaze. So if the architecture
|
||||
# does not implement the 1 byte version, we hint the configure script
|
||||
# that atomic built-ins should not be used.
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_1),)
|
||||
GLOG_CONF_ENV += ac_cv___sync_val_compare_and_swap=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user