70e37f8060
The BR2_GCC_ENABLE_LTO controls whether or not LTO is available in the (internal) toolchain - it shouldn't be used to control whether packages are built with LTO. Use the new BR2_ENABLE_LTO option instead. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
806 B
Makefile
28 lines
806 B
Makefile
################################################################################
|
|
#
|
|
# log4cplus
|
|
#
|
|
################################################################################
|
|
|
|
LOG4CPLUS_VERSION = 2.0.8
|
|
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
|
|
|
|
ifeq ($(BR2_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))
|