From 394541a5f9f6a0ca0e78a9be2bd886d21ca19120 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sat, 23 Feb 2019 12:40:49 +0200 Subject: [PATCH] readline: build with '-fexceptions' --- packages/readline/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/readline/build.sh b/packages/readline/build.sh index 4b45f22a5..99a3d15e0 100644 --- a/packages/readline/build.sh +++ b/packages/readline/build.sh @@ -9,6 +9,10 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-curses --enable-multibyte bash_cv_wcwidt TERMUX_PKG_EXTRA_MAKE_ARGS="SHLIB_LIBS=-lncursesw" TERMUX_PKG_CONFFILES="etc/inputrc" +termux_step_pre_configure() { + CFLAGS+=" -fexceptions" +} + termux_step_post_make_install() { mkdir -p $TERMUX_PREFIX/lib/pkgconfig cp readline.pc $TERMUX_PREFIX/lib/pkgconfig/