Files
buildroot/package/mosh/mosh.mk
James Hilliard bca077698f package/mosh: fix compatibility with newer protobuf versions
We need to backport a patch to fix compatibility with newer protobuf
versions, prior to bumping protobuf.

Remove CFLAGS setting -std=c++11 and enable autoreconf so that
the patch is applied properly.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-11-06 22:19:09 +01:00

32 lines
926 B
Makefile

################################################################################
#
# mosh
#
################################################################################
MOSH_VERSION = 1.4.0
MOSH_SITE = https://mosh.org
MOSH_DEPENDENCIES = zlib ncurses protobuf host-pkgconf
MOSH_LICENSE = GPL-3.0+ with exception
MOSH_LICENSE_FILES = COPYING COPYING.iOS
MOSH_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_OPENSSL),y)
MOSH_CONF_OPTS += --with-crypto-library=openssl
MOSH_DEPENDENCIES += openssl
else
MOSH_CONF_OPTS += --with-crypto-library=nettle
MOSH_DEPENDENCIES += nettle
endif
# help the detection of the SSP support: mosh configure.ac doesn't do
# a link test, so it doesn't detect when the toolchain doesn't have
# libssp.
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),)
MOSH_CONF_ENV += \
ax_cv_check_cflags__Werror___fstack_protector_all=no \
ax_cv_check_cxxflags__Werror___fstack_protector_all=no
endif
$(eval $(autotools-package))