diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-09-14 23:00:16 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-09-14 23:00:16 +0000 |
commit | 84ee82eab5fba0c00df964b37eb2a34b613c498a (patch) | |
tree | e002892c2edfbc3be6a5eed30ccb09dfeb668b95 /dev-python/pymountboot | |
parent | Add -fno-strict-aliasing for python2. (diff) | |
download | gentoo-2-84ee82eab5fba0c00df964b37eb2a34b613c498a.tar.gz gentoo-2-84ee82eab5fba0c00df964b37eb2a34b613c498a.tar.bz2 gentoo-2-84ee82eab5fba0c00df964b37eb2a34b613c498a.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/pymountboot')
-rw-r--r-- | dev-python/pymountboot/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pymountboot/pymountboot-0.2.2.ebuild | 7 | ||||
-rw-r--r-- | dev-python/pymountboot/pymountboot-9999.ebuild | 7 |
3 files changed, 17 insertions, 3 deletions
diff --git a/dev-python/pymountboot/ChangeLog b/dev-python/pymountboot/ChangeLog index 4a267909e813..435216350f00 100644 --- a/dev-python/pymountboot/ChangeLog +++ b/dev-python/pymountboot/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pymountboot # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pymountboot/ChangeLog,v 1.11 2013/09/05 18:46:31 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymountboot/ChangeLog,v 1.12 2013/09/14 23:00:16 floppym Exp $ + + 14 Sep 2013; Mike Gilbert <floppym@gentoo.org> pymountboot-0.2.2.ebuild, + pymountboot-9999.ebuild: + Add -fno-strict-aliasing for python2. 05 Sep 2013; Michał Górny <mgorny@gentoo.org> pymountboot-0.2.1.ebuild, pymountboot-0.2.2.ebuild, pymountboot-9999.ebuild: diff --git a/dev-python/pymountboot/pymountboot-0.2.2.ebuild b/dev-python/pymountboot/pymountboot-0.2.2.ebuild index af9d378617d0..a53129f75ce7 100644 --- a/dev-python/pymountboot/pymountboot-0.2.2.ebuild +++ b/dev-python/pymountboot/pymountboot-0.2.2.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/pymountboot/pymountboot-0.2.2.ebuild,v 1.5 2013/09/05 18:46:31 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymountboot/pymountboot-0.2.2.ebuild,v 1.6 2013/09/14 23:00:16 floppym Exp $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) @@ -18,3 +18,8 @@ IUSE="" RDEPEND=">=sys-apps/util-linux-2.20" DEPEND="${RDEPEND}" + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} diff --git a/dev-python/pymountboot/pymountboot-9999.ebuild b/dev-python/pymountboot/pymountboot-9999.ebuild index ceb5835430f0..29b03d69f860 100644 --- a/dev-python/pymountboot/pymountboot-9999.ebuild +++ b/dev-python/pymountboot/pymountboot-9999.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/pymountboot/pymountboot-9999.ebuild,v 1.5 2013/09/05 18:46:31 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymountboot/pymountboot-9999.ebuild,v 1.6 2013/09/14 23:00:16 floppym Exp $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) @@ -28,3 +28,8 @@ DEPEND="${RDEPEND}" KEYWORDS= SRC_URI= #endif + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} |