|
@@ -15,7 +15,8 @@ BEECRYPT_CONF_OPTS = \
|
|
--disable-expert-mode \
|
|
--disable-expert-mode \
|
|
--without-java \
|
|
--without-java \
|
|
--without-python \
|
|
--without-python \
|
|
- --disable-openmp
|
|
|
|
|
|
+ --disable-openmp \
|
|
|
|
+ --without-cplusplus
|
|
|
|
|
|
# disable optimized m68k assembly as it doesn't compile for coldfire
|
|
# disable optimized m68k assembly as it doesn't compile for coldfire
|
|
ifeq ($(BR2_m68k_cf),y)
|
|
ifeq ($(BR2_m68k_cf),y)
|
|
@@ -27,19 +28,11 @@ ifeq ($(BR2_arm):$(BR2_ARM_CPU_HAS_ARM),y:)
|
|
BEECRYPT_CONF_OPTS += --enable-debug
|
|
BEECRYPT_CONF_OPTS += --enable-debug
|
|
endif
|
|
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
|
|
# automake/libtool uses the C++ compiler to link libbeecrypt because of
|
|
# (the optional) cppglue.cxx. Force it to use the C compiler instead.
|
|
# (the optional) cppglue.cxx. Force it to use the C compiler instead.
|
|
define BEECRYPT_LINK_WITH_CC
|
|
define BEECRYPT_LINK_WITH_CC
|
|
$(SED) 's/--tag=CXX/--tag=CC/g' $(@D)/Makefile
|
|
$(SED) 's/--tag=CXX/--tag=CC/g' $(@D)/Makefile
|
|
endef
|
|
endef
|
|
-
|
|
|
|
BEECRYPT_POST_CONFIGURE_HOOKS += BEECRYPT_LINK_WITH_CC
|
|
BEECRYPT_POST_CONFIGURE_HOOKS += BEECRYPT_LINK_WITH_CC
|
|
-endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|