kumquat-buildroot/package/wampcc/wampcc.mk
Fabrice Fontaine 0fbc50d46a wampcc: needs atomic
Fixes:
 - http://autobuild.buildroot.net/results/2f994762d4e01a904c50cf2728a4103e6e79da2a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-16 16:29:09 +02:00

20 lines
568 B
Makefile

################################################################################
#
# 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
# Uses __atomic_fetch_add_8
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
WAMPCC_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic"
endif
$(eval $(cmake-package))