libpng: Update from 1.6.22 to 1.6.23
[termux-packages] / packages / elfutils / build.sh
index 4ce1985..72050b4 100644 (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 .