Closes: https://bugs.gentoo.org/705884
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
append-cppflags -I"${EPREFIX}/usr/include/libusb-1.0"
fi
+ # Remove when https://dev.gnupg.org/T4831 gets released.
+ [[ $PV != 2.2.19 ]] && die "Check if -fcommon workaround is still needed."
+ # Workaround gcc-10 build failure (bug #705884).
+ append-cflags -fcommon
+
if use elibc_SunOS || use elibc_AIX; then
myconf+=( --disable-symcryptrun )
else