readline: add -fexceptions back
This commit is contained in:
parent
fa7fca94dc
commit
1ad4eff513
@ -4,13 +4,17 @@ TERMUX_PKG_LICENSE="GPL-3.0"
|
|||||||
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
|
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
|
||||||
TERMUX_PKG_BREAKS="bash (<< 5.0)"
|
TERMUX_PKG_BREAKS="bash (<< 5.0)"
|
||||||
TERMUX_PKG_VERSION="8.0"
|
TERMUX_PKG_VERSION="8.0"
|
||||||
TERMUX_PKG_REVISION=1
|
TERMUX_PKG_REVISION=2
|
||||||
TERMUX_PKG_SHA256=e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461
|
TERMUX_PKG_SHA256=e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461
|
||||||
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/readline/readline-${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/readline/readline-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-curses --enable-multibyte bash_cv_wcwidth_broken=no"
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-curses --enable-multibyte bash_cv_wcwidth_broken=no"
|
||||||
TERMUX_PKG_EXTRA_MAKE_ARGS="SHLIB_LIBS=-lncursesw"
|
TERMUX_PKG_EXTRA_MAKE_ARGS="SHLIB_LIBS=-lncursesw"
|
||||||
TERMUX_PKG_CONFFILES="etc/inputrc"
|
TERMUX_PKG_CONFFILES="etc/inputrc"
|
||||||
|
|
||||||
|
termux_step_pre_configure() {
|
||||||
|
CFLAGS+=" -fexceptions"
|
||||||
|
}
|
||||||
|
|
||||||
termux_step_post_make_install() {
|
termux_step_post_make_install() {
|
||||||
mkdir -p $TERMUX_PREFIX/lib/pkgconfig
|
mkdir -p $TERMUX_PREFIX/lib/pkgconfig
|
||||||
cp readline.pc $TERMUX_PREFIX/lib/pkgconfig/
|
cp readline.pc $TERMUX_PREFIX/lib/pkgconfig/
|
||||||
|
Loading…
Reference in New Issue
Block a user