commit:     30721c26b000b906b6276a994c7a4cf9fdaececa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 19:41:22 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 16 19:41:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30721c26

sys-block/open-iscsi: add -fcommon to fix GCC 10 build

Bug: https://bugs.gentoo.org/643122
Acked-by: David Seifert <soap <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-block/open-iscsi/open-iscsi-2.0.875.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-block/open-iscsi/open-iscsi-2.0.875.ebuild 
b/sys-block/open-iscsi/open-iscsi-2.0.875.ebuild
index a72a670d11f..e78173fe7c4 100644
--- a/sys-block/open-iscsi/open-iscsi-2.0.875.ebuild
+++ b/sys-block/open-iscsi/open-iscsi-2.0.875.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -75,6 +75,10 @@ src_prepare() {
 
 src_configure() {
        use debug && append-cppflags -DDEBUG_TCP -DDEBUG_SCSI
+
+       # bug #643122
+       append-flags -fcommon
+
        append-lfs-flags
 }
 

Reply via email to