From 3dea2e4d9890c6210c20e239ae7db4742241f929 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Mon, 15 Jun 2009 18:31:33 +0000 Subject: 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) --- dev-libs/boost/ChangeLog | 9 ++++++++- dev-libs/boost/boost-1.37.0-r1.ebuild | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'dev-libs') 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ò + 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 +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 -- cgit v1.2.3-65-gdbad