mosh: use mips16 and remove configure patch

MIPS16 is not needed here.

Removed configure patch and replaced with a configure var.

Removed autoreconf as configure is no longer being patched.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 1ead64489b)
This commit is contained in:
Rosen Penev
2020-03-17 16:15:42 -07:00
parent 376d0b76fd
commit 6199615960
2 changed files with 3 additions and 14 deletions
+3 -2
View File
@@ -19,11 +19,9 @@ PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=protobuf/host
PKG_USE_MIPS16:=0
include $(INCLUDE_DIR)/package.mk
@@ -93,6 +91,9 @@ CONFIGURE_ARGS += \
--disable-hardening \
--without-utempter
CONFIGURE_VARS += \
ac_cv_have_decl_ffs=yes
TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto -std=c++11
TARGET_LDFLAGS += -Wl,--gc-sections -lncurses