commit:     8d8c0cce04540616a56f0450018d393a2a554ac3
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 16:53:11 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 16:53:47 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d8c0cce

dev-python/storm: Use append-cflags

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/storm/storm-0.20-r1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/storm/storm-0.20-r1.ebuild 
b/dev-python/storm/storm-0.20-r1.ebuild
index 68da3aa..6849494 100644
--- a/dev-python/storm/storm-0.20-r1.ebuild
+++ b/dev-python/storm/storm-0.20-r1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 DISTUTILS_SINGLE_IMPL=1
 PYTHON_REQ_USE="sqlite?"
 
-inherit distutils-r1
+inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="An object-relational mapper for Python developed at Canonical"
 HOMEPAGE="https://storm.canonical.com/ https://pypi.python.org/pypi/storm";
@@ -24,11 +24,10 @@ RDEPEND="mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] 
)
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        test? ( dev-python/fixtures[${PYTHON_USEDEP}] )"
 
-CFLAGS="${CFLAGS} -fno-strict-aliasing"
-
 DOCS="tests/tutorial.txt"
 
 pkg_setup() {
+       append-cflags -fno-strict-aliasing
        python-single-r1_pkg_setup
 }
 

Reply via email to