readline: Build with -fexceptions

This commit is contained in:
Fredrik Fornwall 2018-09-27 01:00:52 +02:00
parent 4905896573
commit 1269f41c93
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library that allow users to edit command lines as they a
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
_MAIN_VERSION=7.0
_PATCH_VERSION=5
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334
TERMUX_PKG_VERSION=${_MAIN_VERSION}.${_PATCH_VERSION}
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/readline/readline-${_MAIN_VERSION}.tar.gz
@ -25,6 +26,8 @@ termux_step_pre_configure () {
${PATCH_CHECKSUMS[patch_number]}
patch -p0 -i $PATCHFILE
done
CFLAGS+=" -fexceptions"
}
termux_step_post_make_install() {