2025-05-10 21:49:39 +08:00

28 lines
764 B
Makefile

################################################################################
#
# libunwind
#
################################################################################
LIBUNWIND_VERSION = 1.6.2
LIBUNWIND_SITE = http://download.savannah.gnu.org/releases/libunwind
LIBUNWIND_INSTALL_STAGING = YES
LIBUNWIND_LICENSE_FILES = COPYING
LIBUNWIND_LICENSE = MIT
LIBUNWIND_CPE_ID_VENDOR = libunwind_project
LIBUNWIND_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_XZ),y)
LIBUNWIND_DEPENDENCIES += xz
endif
LIBUNWIND_CONF_OPTS = \
--disable-tests \
$(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx-exceptions,--disable-cxx-exceptions)
ifeq ($(BR2_PACKAGE_LIBUNWIND_STATIC),y)
LIBUNWIND_CONF_OPTS += --enable-static --disable-zlibdebuginfo
endif
$(eval $(autotools-package))