From: Keri Harris Date: Thu, 28 May 2020 11:01:00 +0000 (+0200) Subject: dev-lang/gprolog: work around GCC10 (-fno-common) build failures X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f71d8e157973d0a0bf7e7534d6512c25103039fe;p=gentoo.git 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 --- diff --git a/dev-lang/gprolog/gprolog-1.4.5.ebuild b/dev-lang/gprolog/gprolog-1.4.5.ebuild index 0e9c8c975896..0a47ce2d34c4 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