From 85ca35e83bae70f3706a5dffcdd3148de11309cf Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Fri, 22 May 2020 09:55:06 +0000 Subject: cpio: fix build with gcc 10 --- cpio/Pkgfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpio/Pkgfile') diff --git a/cpio/Pkgfile b/cpio/Pkgfile index ef497526..7129374f 100644 --- a/cpio/Pkgfile +++ b/cpio/Pkgfile @@ -4,14 +4,19 @@ name=cpio version=2.13 -release=1 +release=2 source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2) build() { cd $name-$version + + export CFLAGS="$CFLAGS -fcommon" + ./configure --prefix=/usr --disable-nls + make make DESTDIR=$PKG install + rm -r $PKG/usr/{libexec,share/info} rm -r $PKG/usr/share/man/man8 } -- cgit v1.2.3