From 768547b0140155b54f31affa57698afec66acfe2 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 8 May 2016 20:04:16 -0400 Subject: [PATCH] emacs: Prevent linking against libelf --- packages/emacs/build.sh | 2 ++ packages/make/build.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/packages/emacs/build.sh b/packages/emacs/build.sh index 0a8c2faba..b1495cece 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 856f9583b..13f2940ee 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"