emacs: Prevent linking against libelf
authorFredrik Fornwall <fredrik@fornwall.net>
Mon, 9 May 2016 00:04:16 +0000 (20:04 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Mon, 9 May 2016 00:04:16 +0000 (20:04 -0400)
packages/emacs/build.sh
packages/make/build.sh

index 0a8c2fa..b1495ce 100644 (file)
@@ -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
 
index 856f958..13f2940 100755 (executable)
@@ -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"