summaryrefslogtreecommitdiff
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
commite05cecd5921bd35b8245661a25a4e4f6fcfd4849 (patch)
tree0ea7d95e83280cc9590d2a79c4ec17b562736605 /eclass/qt4-build.eclass
parentVersion bump (diff)
downloadhistorical-e05cecd5921bd35b8245661a25a4e4f6fcfd4849.tar.gz
historical-e05cecd5921bd35b8245661a25a4e4f6fcfd4849.tar.bz2
historical-e05cecd5921bd35b8245661a25a4e4f6fcfd4849.zip
Remove custom-cxxflags from qt4-build.eclass
Diffstat (limited to 'eclass/qt4-build.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"