From 19ccf51b5c79a78516470d81b4232ae7f96a4433 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 29 Jan 2020 11:42:49 +0100 Subject: [PATCH] dev-python/pyparted: Set CFLAGS=-fcommon Package-Manager: Portage-2.3.86, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=706904 Signed-off-by: Jeroen Roovers --- dev-python/pyparted/pyparted-3.11.3.ebuild | 7 ++++++- dev-python/pyparted/pyparted-999999.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dev-python/pyparted/pyparted-3.11.3.ebuild b/dev-python/pyparted/pyparted-3.11.3.ebuild index 53553209b627..a058461368ad 100644 --- a/dev-python/pyparted/pyparted-3.11.3.ebuild +++ b/dev-python/pyparted/pyparted-3.11.3.ebuild @@ -3,7 +3,7 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_6} ) -inherit distutils-r1 +inherit distutils-r1 flag-o-matic DESCRIPTION="Python bindings for sys-block/parted" HOMEPAGE="https://github.com/rhinstaller/pyparted/" @@ -22,3 +22,8 @@ DEPEND=" virtual/pkgconfig " RESTRICT="test" + +src_configure() { + append-cflags -fcommon + default +} diff --git a/dev-python/pyparted/pyparted-999999.ebuild b/dev-python/pyparted/pyparted-999999.ebuild index c31f80411993..b34350ec1632 100644 --- a/dev-python/pyparted/pyparted-999999.ebuild +++ b/dev-python/pyparted/pyparted-999999.ebuild @@ -3,7 +3,7 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_6} ) -inherit distutils-r1 git-r3 +inherit distutils-r1 flag-o-matic git-r3 DESCRIPTION="Python bindings for sys-block/parted" HOMEPAGE="https://github.com/rhinstaller/pyparted/" @@ -22,3 +22,8 @@ DEPEND=" virtual/pkgconfig " RESTRICT="test" + +src_configure() { + append-cflags -fcommon + default +} -- 2.26.2