a5e57a8b6c
Package uses m68k optimization, which doesn't work with coldfire. These optimizations are disabled with --enable-debug. Fixes following autobuild failure: http://autobuild.buildroot.net/results/bbe57a096de207b78e069591e21ac5a79eab069e/ http://autobuild.buildroot.net/results/ab702e6db382b1975d0cd61feaba9812830e81e8/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
41 lines
1.1 KiB
Makefile
41 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 = LGPLv2.1+
|
|
BEECRYPT_LICENSE_FILES = COPYING.LIB
|
|
|
|
BEECRYPT_CONF_OPTS = \
|
|
--disable-expert-mode \
|
|
--without-java \
|
|
--without-python \
|
|
--disable-openmp
|
|
|
|
# disable optimized m68k assembly as it doesn't compile for coldfire
|
|
ifeq ($(BR2_m68k_cf),y)
|
|
BEECRYPT_CONF_OPTS += --enable-debug
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BEECRYPT_CPP),y)
|
|
BEECRYPT_DEPENDENCIES += icu
|
|
BEECRYPT_CONF_OPTS += --with-cplusplus
|
|
else
|
|
BEECRYPT_CONF_OPTS += --without-cplusplus
|
|
|
|
# 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
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|