elfutils: Small preparation for clang

This commit is contained in:
Fredrik Fornwall 2016-05-18 16:47:18 -04:00
parent f1e31fa9f2
commit 335433e716

View File

@ -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 .