diff options
author | Dominik Kapusta <ayoy@gentoo.org> | 2009-11-09 19:30:40 +0000 |
---|---|---|
committer | Dominik Kapusta <ayoy@gentoo.org> | 2009-11-09 19:30:40 +0000 |
commit | 3b90aef3896595685c4875f6ffb1b7e076d9a85e (patch) | |
tree | 74c02f2d10b22018b63062ac6aa39534e53db069 /eclass/qt4-build.eclass | |
parent | Version bump #292549 by Rodrigo Severo. (diff) | |
download | gentoo-2-3b90aef3896595685c4875f6ffb1b7e076d9a85e.tar.gz gentoo-2-3b90aef3896595685c4875f6ffb1b7e076d9a85e.tar.bz2 gentoo-2-3b90aef3896595685c4875f6ffb1b7e076d9a85e.zip |
Append -mminimal-toc for qt ebuilds on ppc64 - bug #261632
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 4e54c98833d0..237d7880a545 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,6 +1,6 @@ # Copyright 2007-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.48 2009/10/16 15:02:15 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.49 2009/11/09 19:30:40 ayoy Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -193,6 +193,12 @@ qt4-build_src_prepare() { -i "${S}"/mkspecs/common/g++.conf || die "sed ${S}/mkspecs/common/g++.conf failed" fi + # Bug 261632 + if use ppc64; then + ewarn "Appending -mminimal-toc to CFLAGS/CXXFLAGS" + append-flags -mminimal-toc + fi + # Bug 172219 sed -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \ -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \ |