Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/open-iscsi/
Date: Sun, 16 May 2021 19:42:08
Message-Id: 1621194082.30721c26b000b906b6276a994c7a4cf9fdaececa.sam@gentoo
1 commit: 30721c26b000b906b6276a994c7a4cf9fdaececa
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 16 19:41:22 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun May 16 19:41:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30721c26
7
8 sys-block/open-iscsi: add -fcommon to fix GCC 10 build
9
10 Bug: https://bugs.gentoo.org/643122
11 Acked-by: David Seifert <soap <AT> gentoo.org>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sys-block/open-iscsi/open-iscsi-2.0.875.ebuild | 6 +++++-
15 1 file changed, 5 insertions(+), 1 deletion(-)
16
17 diff --git a/sys-block/open-iscsi/open-iscsi-2.0.875.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.875.ebuild
18 index a72a670d11f..e78173fe7c4 100644
19 --- a/sys-block/open-iscsi/open-iscsi-2.0.875.ebuild
20 +++ b/sys-block/open-iscsi/open-iscsi-2.0.875.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -75,6 +75,10 @@ src_prepare() {
28
29 src_configure() {
30 use debug && append-cppflags -DDEBUG_TCP -DDEBUG_SCSI
31 +
32 + # bug #643122
33 + append-flags -fcommon
34 +
35 append-lfs-flags
36 }