summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/qt/qt-4.3.2-r1.ebuild')
-rw-r--r--x11-libs/qt/qt-4.3.2-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-libs/qt/qt-4.3.2-r1.ebuild b/x11-libs/qt/qt-4.3.2-r1.ebuild
index d2d1cb98d7ea..01b545f94c46 100644
--- a/x11-libs/qt/qt-4.3.2-r1.ebuild
+++ b/x11-libs/qt/qt-4.3.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.2-r1.ebuild,v 1.8 2008/03/05 16:40:05 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.2-r1.ebuild,v 1.9 2008/03/11 16:51:15 ingmar Exp $
inherit eutils flag-o-matic toolchain-funcs multilib
@@ -135,6 +135,12 @@ src_unpack() {
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
+
sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
-e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
-e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \