diff options
author | Raúl Porcel <armin76@gentoo.org> | 2010-08-08 11:34:20 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2010-08-08 11:34:20 +0000 |
commit | 7693a0a85bccbd1bdb54df15ad85eee53c9ca9fa (patch) | |
tree | 14379c70023fc93ffba394fe043f192b9c19a336 /eclass | |
parent | Version bump (diff) | |
download | historical-7693a0a85bccbd1bdb54df15ad85eee53c9ca9fa.tar.gz historical-7693a0a85bccbd1bdb54df15ad85eee53c9ca9fa.tar.bz2 historical-7693a0a85bccbd1bdb54df15ad85eee53c9ca9fa.zip |
Add workaround for ARM
Diffstat (limited to '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 b5e097f5c648..7ddb3e06e400 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -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/eclass/qt4-build.eclass,v 1.78 2010/07/11 10:32:17 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.79 2010/08/08 11:34:20 armin76 Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -196,6 +196,12 @@ qt4-build_src_prepare() { replace-flags -O2 -O3 fi + if [[ ${CHOST} == arm* ]] ; then + # Fails on arm with -Os, bug 331641 + # This can be removed once qt-4.7 is stable or the bug on gcc is fixed + replace-flags -Os -O2 + fi + # Bug 178652 if [[ $(gcc-major-version) == 3 ]] && use amd64; then ewarn "Appending -fno-gcse to CFLAGS/CXXFLAGS" |