2018-06-28 15:50:08 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# wampcc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
WAMPCC_VERSION = v1.6
|
|
|
|
WAMPCC_SITE = $(call github,darrenjs,wampcc,$(WAMPCC_VERSION))
|
|
|
|
WAMPCC_DEPENDENCIES = host-pkgconf libuv jansson openssl
|
|
|
|
WAMPCC_INSTALL_STAGING = YES
|
|
|
|
WAMPCC_LICENSE = MIT
|
|
|
|
WAMPCC_LICENSE_FILES = LICENSE
|
|
|
|
|
2018-07-10 20:27:40 +02:00
|
|
|
# Uses __atomic_fetch_add_8
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
|
|
WAMPCC_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic"
|
|
|
|
endif
|
|
|
|
|
2018-06-28 15:50:08 +02:00
|
|
|
$(eval $(cmake-package))
|