Browse Source

emacs: Prevent linking against libelf

android-5
Fredrik Fornwall 9 years ago
parent
commit
768547b014
  1. 2
      packages/emacs/build.sh
  2. 1
      packages/make/build.sh

2
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" TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" emacs_cv_sanitize_address=yes"
# Prevent configure from adding -nopie: # Prevent configure from adding -nopie:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" emacs_cv_prog_cc_nopie=no" 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_HOSTBUILD=yes
TERMUX_PKG_KEEP_INFOPAGES=yes TERMUX_PKG_KEEP_INFOPAGES=yes

1
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_VERSION=4.1
TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/make/make-${TERMUX_PKG_VERSION}.tar.gz 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" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_elf_elf_begin=no"

Loading…
Cancel
Save