dev-python/storm: Use append-cflags

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-09-02 18:53:11 +02:00
parent fc2670b967
commit 8d8c0cce04

View File

@@ -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
}