diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-03-13 22:01:24 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-03-13 22:01:59 +0000 |
commit | 96d6fe37a6781869755fa5625c18010486eaa2e2 (patch) | |
tree | cb41b769d208e8c0fae0b55d4b4c833411bed8fd /app-crypt/gnupg | |
parent | app-emulation/cadvisor: 0.36.0 bump (diff) | |
download | gentoo-96d6fe37a6781869755fa5625c18010486eaa2e2.tar.gz gentoo-96d6fe37a6781869755fa5625c18010486eaa2e2.tar.bz2 gentoo-96d6fe37a6781869755fa5625c18010486eaa2e2.zip |
app-crypt/gnupg: add -fcommon workaround for gcc-10, bug #705884
Closes: https://bugs.gentoo.org/705884
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-crypt/gnupg')
-rw-r--r-- | app-crypt/gnupg/gnupg-2.2.19.ebuild | 7 |
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 |