diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-06-15 18:31:33 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-06-15 18:31:33 +0000 |
commit | 3dea2e4d9890c6210c20e239ae7db4742241f929 (patch) | |
tree | 5f6404047fa52e8f2e05a6e732dd8ec715d0839c /dev-libs | |
parent | uae bump (diff) | |
download | gentoo-2-3dea2e4d9890c6210c20e239ae7db4742241f929.tar.gz gentoo-2-3dea2e4d9890c6210c20e239ae7db4742241f929.tar.bz2 gentoo-2-3dea2e4d9890c6210c20e239ae7db4742241f929.zip |
When compiling with gcc 4.4, append -fno-strict-aliasing to allow build, see bug #252287. WARNING! This is just a workaround and not a fix, this _will_ cause reduced optimisation of the library. A proper fix _is_ needed.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/boost/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/boost/boost-1.37.0-r1.ebuild | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog index 86bce0e00d0d..8faedc36765a 100644 --- a/dev-libs/boost/ChangeLog +++ b/dev-libs/boost/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/boost # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.161 2009/05/28 17:42:51 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.162 2009/06/15 18:31:33 flameeyes Exp $ + + 15 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> + boost-1.37.0-r1.ebuild: + When compiling with gcc 4.4, append -fno-strict-aliasing to allow build, + see bug #252287. WARNING! This is just a workaround and not a fix, this + _will_ cause reduced optimisation of the library. A proper fix _is_ + needed. 28 May 2009; Fabian Groffen <grobian@gentoo.org> +files/boost-1.37.0-darwin-long-double.patch, boost-1.37.0-r1.ebuild: diff --git a/dev-libs/boost/boost-1.37.0-r1.ebuild b/dev-libs/boost/boost-1.37.0-r1.ebuild index bf807fc7f055..f487409a914d 100644 --- a/dev-libs/boost/boost-1.37.0-r1.ebuild +++ b/dev-libs/boost/boost-1.37.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.37.0-r1.ebuild,v 1.7 2009/05/28 17:42:51 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.37.0-r1.ebuild,v 1.8 2009/06/15 18:31:33 flameeyes Exp $ EAPI="2" @@ -117,6 +117,9 @@ src_configure() { compilerExecutable=$(tc-getCXX) fi + # Temporary workaround for bug #252287 + [[ $(gcc-version) == "4.4" ]] && append-flags -fno-strict-aliasing + use mpi && mpi="using mpi ;" if use python ; then |