p7zip: fix build with GCC 12

This commit is contained in:
Michal Vasilek 2022-10-05 21:55:29 +02:00
parent a33a6b1c8d
commit 3c1500ae78
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ homepage="http://p7zip.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}_src_all.tar.bz2"
checksum=5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
CXXFLAGS="-Wno-narrowing"
CXXFLAGS="-Wno-narrowing -std=c++11"
do_configure() {
case "$XBPS_TARGET_MACHINE" in