commit: f71d8e157973d0a0bf7e7534d6512c25103039fe
Author: Keri Harris <keri <AT> gentoo <DOT> org>
AuthorDate: Thu May 28 11:01:00 2020 +0000
Commit: Keri Harris <keri <AT> gentoo <DOT> org>
CommitDate: Thu May 28 11:01:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71d8e15
dev-lang/gprolog: work around GCC10 (-fno-common) build failures
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris <keri <AT> gentoo.org>
dev-lang/gprolog/gprolog-1.4.5.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-lang/gprolog/gprolog-1.4.5.ebuild
b/dev-lang/gprolog/gprolog-1.4.5.ebuild
index 0e9c8c97589..0a47ce2d34c 100644
--- a/dev-lang/gprolog/gprolog-1.4.5.ebuild
+++ b/dev-lang/gprolog/gprolog-1.4.5.ebuild
@@ -31,6 +31,9 @@ src_prepare() {
src_configure() {
CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`"
+ # Work around -fno-common ( GCC10 default ), bug #71202
+ append-flags -fcommon
+
append-flags -fno-strict-aliasing
use debug && append-flags -DDEBUG