diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-03-11 16:39:43 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-03-11 16:39:43 +0000 |
commit | 7461c968283a3287b39c392f4872a43575584ec7 (patch) | |
tree | b581c05c94714edd22f90aef0472fa15e1eb9ab9 /eclass/qt4-build.eclass | |
parent | added patches for fetch_bodystructure/imap_bodystructure_write (diff) | |
download | gentoo-2-7461c968283a3287b39c392f4872a43575584ec7.tar.gz gentoo-2-7461c968283a3287b39c392f4872a43575584ec7.tar.bz2 gentoo-2-7461c968283a3287b39c392f4872a43575584ec7.zip |
append-flags -fno-gcse for on amd64 with gcc 3, bug 178652.
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index 481b56620b6d..b1578f94d989 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,6 +1,6 @@ # Copyright 2007-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.9 2008/03/06 14:44:13 zlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.10 2008/03/11 16:39:43 ingmar Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -86,6 +86,12 @@ qt4-build_src_compile() { append-flags -fno-stack-protector fi + # Bug 178652 + if [[ "$(gcc-major-version)" == "3" ]] && use amd64; then + ewarn "Appending -fno-gcse to CFLAGS/CXXFLAGS" + append-flags -fno-gcse + fi + myconf="$(standard_configure_options) ${myconf}" echo ./configure ${myconf} |