kumquat-buildroot/package/log4cplus/log4cplus.mk
Fabrice Fontaine ca00d107af package/log4cplus: fix detection of -latomic
Fixes:
 - http://autobuild.buildroot.org/results/5451df835e0e96545b322bc9bd74f76273ee3b34

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-01-02 09:18:46 +01:00

30 lines
867 B
Makefile

################################################################################
#
# log4cplus
#
################################################################################
LOG4CPLUS_VERSION = 2.0.5
LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz
LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION)
LOG4CPLUS_LICENSE = Apache-2.0, BSD-2-Clause, BSD-like (threadpool)
LOG4CPLUS_LICENSE_FILES = LICENSE
LOG4CPLUS_INSTALL_STAGING = YES
# We're patching configure.ac
LOG4CPLUS_AUTORECONF = YES
ifeq ($(BR2_GCC_ENABLE_LTO),y)
LOG4CPLUS_CONF_OPTS += --enable-lto
else
LOG4CPLUS_CONF_OPTS += --disable-lto
endif
ifeq ($(BR2_PACKAGE_QT5BASE),y)
LOG4CPLUS_DEPENDENCIES += host-pkgconf qt5base
LOG4CPLUS_CONF_OPTS += --with-qt5
else
LOG4CPLUS_CONF_OPTS += --without-qt5
endif
$(eval $(autotools-package))