p7zip: fix build w/ gcc10

This commit is contained in:
Jürgen Buchmüller 2021-01-15 23:32:46 +01:00
parent 4572564699
commit e1b4702151

View file

@ -11,6 +11,8 @@ homepage="http://p7zip.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}_src_all.tar.bz2"
checksum=5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
CXXFLAGS="-Wno-narrowing"
do_configure() {
case "$XBPS_TARGET_MACHINE" in
i686*) cp makefile.linux_x86_asm_gcc_4.X makefile.machine;;