summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-crypt/gnupg/gnupg-2.2.19.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-crypt/gnupg/gnupg-2.2.19.ebuild b/app-crypt/gnupg/gnupg-2.2.19.ebuild
index 8a253de4ad99..0a1d2df46afd 100644
--- a/app-crypt/gnupg/gnupg-2.2.19.ebuild
+++ b/app-crypt/gnupg/gnupg-2.2.19.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -61,6 +61,11 @@ src_configure() {
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