dev-python/pyparted: Set CFLAGS=-fcommon
authorJeroen Roovers <jer@gentoo.org>
Wed, 29 Jan 2020 10:42:49 +0000 (11:42 +0100)
committerJeroen Roovers <jer@gentoo.org>
Wed, 29 Jan 2020 11:32:05 +0000 (12:32 +0100)
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 <jer@gentoo.org>
dev-python/pyparted/pyparted-3.11.3.ebuild
dev-python/pyparted/pyparted-999999.ebuild

index 53553209b6278f3531374dcaea4b07cfea12a370..a058461368ad3b8d165463f36c1766f73a28d1f7 100644 (file)
@@ -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
+}
index c31f804119937bdc64b5c0ddd48db1b4979d7bbb..b34350ec16320f00c58bd4a854cefb3d960fa5ac 100644 (file)
@@ -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
+}