X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/a99fdd984c088376717be704713dcee97963a2ef..862eacbaea2cd0e84e306fd806470285df7238a0:/packages/elfutils/build.sh diff --git a/packages/elfutils/build.sh b/packages/elfutils/build.sh index 72050b44..1aced22c 100644 --- a/packages/elfutils/build.sh +++ b/packages/elfutils/build.sh @@ -1,22 +1,23 @@ -TERMUX_PKG_VERSION=0.166 +TERMUX_PKG_VERSION=0.168 TERMUX_PKG_HOMEPAGE=https://fedorahosted.org/elfutils/ TERMUX_PKG_DESCRIPTION="ELF object file access library" TERMUX_PKG_SRCURL=https://fedorahosted.org/releases/e/l/elfutils/${TERMUX_PKG_VERSION}/elfutils-${TERMUX_PKG_VERSION}.tar.bz2 # libandroid-support for langinfo. TERMUX_PKG_DEPENDS="libandroid-support, liblzma, libbz2" +TERMUX_PKG_CLANG=no # Use "eu-" as program prefix to avoid conflict with binutils programs. # This is what several linux distributions do. TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--program-prefix='eu-'" # The ar.c file is patched away for now: TERMUX_PKG_RM_AFTER_INSTALL="bin/eu-ar" -LDFLAGS+=" -lintl" -CFLAGS+=" -DTERMUX_EXPOSE_MEMPCPY=1 -Wno-error=unused-value -Wno-error=format-nonliteral -Wno-error" +termux_step_pre_configure() { + LDFLAGS+=" -lintl" + CFLAGS+=" -DTERMUX_EXPOSE_MEMPCPY=1 -Wno-error=unused-value -Wno-error=format-nonliteral -Wno-error" -# Exposes ACCESSPERMS in which elfutils uses: -CFLAGS+=" -D__USE_BSD" + # Exposes ACCESSPERMS in which elfutils uses: + CFLAGS+=" -D__USE_BSD" -termux_step_pre_configure () { # Install argp lib. ARGP_FILE=$TERMUX_PKG_CACHEDIR/argp-standalone.1.3.tar.gz if [ ! -f $ARGP_FILE ]; then