From: Fredrik Fornwall Date: Mon, 9 May 2016 00:04:16 +0000 (-0400) Subject: emacs: Prevent linking against libelf X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/768547b0140155b54f31affa57698afec66acfe2?hp=--cc emacs: Prevent linking against libelf --- 768547b0140155b54f31affa57698afec66acfe2 diff --git a/packages/emacs/build.sh b/packages/emacs/build.sh index 0a8c2fab..b1495cec 100644 --- a/packages/emacs/build.sh +++ b/packages/emacs/build.sh @@ -9,6 +9,8 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-x --with-xpm=no --with-jpeg=no --with TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" emacs_cv_sanitize_address=yes" # Prevent configure from adding -nopie: TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" emacs_cv_prog_cc_nopie=no" +# Prevent linking against libelf: +TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_lib_elf_elf_begin=no" TERMUX_PKG_HOSTBUILD=yes TERMUX_PKG_KEEP_INFOPAGES=yes diff --git a/packages/make/build.sh b/packages/make/build.sh index 856f9583..13f2940e 100755 --- a/packages/make/build.sh +++ b/packages/make/build.sh @@ -3,4 +3,5 @@ TERMUX_PKG_DESCRIPTION="Tool which controls the generation of executables and ot TERMUX_PKG_VERSION=4.1 TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/make/make-${TERMUX_PKG_VERSION}.tar.gz +# Prevent linking against libelf: TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_elf_elf_begin=no"