app-arch/unzip: Sync with Gentoo

It's from Gentoo commit 21b5f65e3130f0a523e8e1d3367e187cfb814f1d.
This commit is contained in:
Flatcar Buildbot 2022-11-14 07:15:33 +00:00
parent 2c766fda5a
commit ae04f1307e

View File

@ -73,6 +73,8 @@ src_configure() {
*) die "Unknown target; please update the ebuild to handle ${CHOST} " ;;
esac
append-flags -std=gnu89
[[ ${CHOST} == *linux* ]] && append-cppflags -DNO_LCHMOD
use bzip2 && append-cppflags -DUSE_BZIP2
use unicode && append-cppflags -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING