diff options
author | Keri Harris <keri@gentoo.org> | 2020-05-28 13:01:00 +0200 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2020-05-28 13:01:22 +0200 |
commit | f71d8e157973d0a0bf7e7534d6512c25103039fe (patch) | |
tree | a21e6da10d29c32b5091c2b6b52f1355527037f0 /dev-lang | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.6.15 (diff) | |
download | gentoo-f71d8e157973d0a0bf7e7534d6512c25103039fe.tar.gz gentoo-f71d8e157973d0a0bf7e7534d6512c25103039fe.tar.bz2 gentoo-f71d8e157973d0a0bf7e7534d6512c25103039fe.zip |
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@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/gprolog/gprolog-1.4.5.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
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 |