summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-07-04 21:29:24 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-07-04 21:29:35 +0100
commitfea1183314e45249d36cbd81d547701da06b31d5 (patch)
tree599f996ee9a927193bb082a8dae5a9924a335b7d /sys-fs
parentpackage.mask: Last rite dev-python/algopy (diff)
downloadgentoo-fea1183314e45249d36cbd81d547701da06b31d5.tar.gz
gentoo-fea1183314e45249d36cbd81d547701da06b31d5.tar.bz2
gentoo-fea1183314e45249d36cbd81d547701da06b31d5.zip
sys-fs/ufsutils: add -fcommon workaround
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/706696 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/ufsutils/ufsutils-8.2_p3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild b/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
index 4f614d470df6..92d1b917e8d8 100644
--- a/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
+++ b/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
@@ -3,7 +3,7 @@
EAPI=4
-inherit eutils toolchain-funcs
+inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="FFS/UFS/UFS2 filesystem utilities from FreeBSD"
HOMEPAGE="http://packages.debian.org/source/sid/ufsutils"
@@ -38,6 +38,10 @@ src_prepare() {
}
src_configure() {
+ # globals are defined in header files and reused in multiple final
+ # binaries. bug #706696
+ append-cflags -fcommon
+
tc-export AR CC
}