summaryrefslogtreecommitdiff
path: root/cpio/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2020-05-22 09:55:06 +0000
committerJuergen Daubert <jue@jue.li>2020-05-22 09:55:06 +0000
commit85ca35e83bae70f3706a5dffcdd3148de11309cf (patch)
tree9329c0a584a18e66308484c51f8e9c66b135ea22 /cpio/Pkgfile
parentaf29c5512c8a1dfdf7b11c7fac1d74dd20c82598 (diff)
downloadcore-85ca35e83bae70f3706a5dffcdd3148de11309cf.tar.gz
core-85ca35e83bae70f3706a5dffcdd3148de11309cf.tar.xz
cpio: fix build with gcc 10
Diffstat (limited to 'cpio/Pkgfile')
-rw-r--r--cpio/Pkgfile7
1 files changed, 6 insertions, 1 deletions
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
}

Generated by cgit