summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-06-27 18:55:02 +0000
committerBen de Groot <yngwin@gentoo.org>2009-06-27 18:55:02 +0000
commit56c933aef5bd06b87447171f017beab415e67c2f (patch)
tree0b2b41eadc143e02f0247b1a46ac92a167f8a391 /eclass
parentVersion bump (diff)
downloadgentoo-2-56c933aef5bd06b87447171f017beab415e67c2f.tar.gz
gentoo-2-56c933aef5bd06b87447171f017beab415e67c2f.tar.bz2
gentoo-2-56c933aef5bd06b87447171f017beab415e67c2f.zip
Remove custom-cxxflags from qt4-build.eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt4-build.eclass21
1 files changed, 2 insertions, 19 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index 9d4543e1a2dc..5e896a48ecf3 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.39 2009/06/27 12:37:32 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.40 2009/06/27 18:55:02 yngwin Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -13,7 +13,7 @@
inherit base eutils multilib toolchain-funcs flag-o-matic versionator
-IUSE="${IUSE} custom-cxxflags debug pch"
+IUSE="${IUSE} debug pch"
RDEPEND="
!<x11-libs/qt-assistant-${PV}
!>x11-libs/qt-assistant-${PV}-r9999
@@ -109,17 +109,6 @@ qt4-build_pkg_setup() {
echo
ebeep 3
fi
-
- if use custom-cxxflags; then
- echo
- ewarn "You have set USE=custom-cxxflags, which means Qt will be built with the"
- ewarn "CXXFLAGS you have set in /etc/make.conf. This is not supported, and we"
- ewarn "recommend to unset this useflag. But you are free to experiment with it."
- ewarn "Just do not start crying if it breaks your system, or eats your kitten"
- ewarn "for breakfast. ;-) "
- echo
- fi
-
}
# @ECLASS-VARIABLE: QT4_TARGET_DIRECTORIES
@@ -186,12 +175,6 @@ qt4-build_src_prepare() {
symlink_binaries_to_buildtree
fi
- if ! use custom-cxxflags;then
- # Don't let the user go too overboard with flags.
- strip-flags
- replace-flags -O3 -O2
- fi
-
# Bug 178652
if [[ "$(gcc-major-version)" == "3" ]] && use amd64; then
ewarn "Appending -fno-gcse to CFLAGS/CXXFLAGS"