diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-09-14 22:55:56 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-09-14 22:55:56 +0000 |
commit | 6c9bd956052adedcb8b04d247230f19d3c81edaf (patch) | |
tree | 3dffa76829ad2ce01d0df6c40323dc6bc08cb46a /dev-python/pycups | |
parent | unmask ocaml 4.01.0 (diff) | |
download | gentoo-2-6c9bd956052adedcb8b04d247230f19d3c81edaf.tar.gz gentoo-2-6c9bd956052adedcb8b04d247230f19d3c81edaf.tar.bz2 gentoo-2-6c9bd956052adedcb8b04d247230f19d3c81edaf.zip |
Add -fno-strict-aliasing for python2.
(Portage version: 2.2.4/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/pycups')
-rw-r--r-- | dev-python/pycups/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/pycups/pycups-1.9.63.ebuild | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-python/pycups/ChangeLog b/dev-python/pycups/ChangeLog index ba160c75a520..6d37a888f93c 100644 --- a/dev-python/pycups/ChangeLog +++ b/dev-python/pycups/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/pycups # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.69 2013/09/05 18:47:08 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.70 2013/09/14 22:55:56 floppym Exp $ + + 14 Sep 2013; Mike Gilbert <floppym@gentoo.org> pycups-1.9.63.ebuild: + Add -fno-strict-aliasing for python2. 05 Sep 2013; Michał Górny <mgorny@gentoo.org> pycups-1.9.63.ebuild: Clean up PYTHON_COMPAT from old implementations. diff --git a/dev-python/pycups/pycups-1.9.63.ebuild b/dev-python/pycups/pycups-1.9.63.ebuild index abc9b2ada56b..096a8dfc760c 100644 --- a/dev-python/pycups/pycups-1.9.63.ebuild +++ b/dev-python/pycups/pycups-1.9.63.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.63.ebuild,v 1.3 2013/09/05 18:47:08 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.63.ebuild,v 1.4 2013/09/14 22:55:56 floppym Exp $ EAPI=5 @@ -37,6 +37,11 @@ python_compile_all() { fi } +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + python_install_all() { use doc && local HTML_DOCS=( html/ ) use examples && local EXAMPLES=( examples/ ) |