mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-30 17:03:31 +08:00
dd4d3c18d6
Optional C++ support depends on icu, the icu version bump to 59.1 brought ABI-breaking changes http://site.icu-project.org/download/59#TOC-char16_t-in-C- which are incompatible with beecrypt. Since beecrypt did not get any updates upstream since 2009 and no package uses beecrypt's C++ support we disable this broken option. With C++ support removed patches 0002 & 0004 are not needed anymore. Fixes http://autobuild.buildroot.net/results/a1a/a1ad507371192ddecacab0df91f7b2a84c7c288d/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# beecrypt
|
|
#
|
|
################################################################################
|
|
|
|
BEECRYPT_VERSION = 4.2.1
|
|
BEECRYPT_SITE = http://downloads.sourceforge.net/project/beecrypt/beecrypt/$(BEECRYPT_VERSION)
|
|
BEECRYPT_AUTORECONF = YES
|
|
BEECRYPT_INSTALL_STAGING = YES
|
|
BEECRYPT_LICENSE = LGPL-2.1+
|
|
BEECRYPT_LICENSE_FILES = COPYING.LIB
|
|
|
|
BEECRYPT_CONF_OPTS = \
|
|
--disable-expert-mode \
|
|
--without-java \
|
|
--without-python \
|
|
--disable-openmp \
|
|
--without-cplusplus
|
|
|
|
# disable optimized m68k assembly as it doesn't compile for coldfire
|
|
ifeq ($(BR2_m68k_cf),y)
|
|
BEECRYPT_CONF_OPTS += --enable-debug
|
|
endif
|
|
|
|
# arm asm optimization doesn't work for thumb-only
|
|
ifeq ($(BR2_arm):$(BR2_ARM_CPU_HAS_ARM),y:)
|
|
BEECRYPT_CONF_OPTS += --enable-debug
|
|
endif
|
|
|
|
# automake/libtool uses the C++ compiler to link libbeecrypt because of
|
|
# (the optional) cppglue.cxx. Force it to use the C compiler instead.
|
|
define BEECRYPT_LINK_WITH_CC
|
|
$(SED) 's/--tag=CXX/--tag=CC/g' $(@D)/Makefile
|
|
endef
|
|
BEECRYPT_POST_CONFIGURE_HOOKS += BEECRYPT_LINK_WITH_CC
|
|
|
|
$(eval $(autotools-package))
|