summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-16 19:41:22 +0000
committerSam James <sam@gentoo.org>2021-05-16 19:41:22 +0000
commit30721c26b000b906b6276a994c7a4cf9fdaececa (patch)
tree629aed6d25a1601b7d23663245c1fc6f343ed9c4
parentx11-wm/i3-gaps: Stabilize 4.19.1 amd64, #771243 (diff)
downloadgentoo-30721c26.tar.gz
gentoo-30721c26.tar.bz2
gentoo-30721c26.zip
sys-block/open-iscsi: add -fcommon to fix GCC 10 build
Bug: https://bugs.gentoo.org/643122 Acked-by: David Seifert <soap@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-block/open-iscsi/open-iscsi-2.0.875.ebuild6
1 files changed, 5 insertions, 1 deletions
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 a72a670d11f1..e78173fe7c4d 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
}