From 335433e7169faa1d9f99e621d9d9314a247e7d34 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 18 May 2016 16:47:18 -0400 Subject: [PATCH] elfutils: Small preparation for clang --- packages/elfutils/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/elfutils/build.sh b/packages/elfutils/build.sh index 4ce198507..72050b44a 100644 --- a/packages/elfutils/build.sh +++ b/packages/elfutils/build.sh @@ -26,8 +26,11 @@ termux_step_pre_configure () { cd $TERMUX_PKG_TMPDIR tar xf $ARGP_FILE cd argp-standalone-1.3 + ORIG_CFLAGS="$CFLAGS" + CFLAGS+=" -std=gnu89" ./configure --host=$TERMUX_HOST_PLATFORM make + CFLAGS="$ORIG_CFLAGS" cp $TERMUX_PKG_BUILDER_DIR/error.h . cp $TERMUX_PKG_BUILDER_DIR/stdio_ext.h .