diff options
author | Alex Alexander <wired@gentoo.org> | 2010-05-22 19:23:51 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2010-05-22 19:23:51 +0000 |
commit | 617f2feabdd09c0d1ad53be0446d50d3bd1153d1 (patch) | |
tree | 729a7758281fc6902ba4daf818568034ffe65de8 /eclass/qt4-build.eclass | |
parent | Drop old version, drop Ruby 1.9 and JRuby support from 12-r1 (stable candidat... (diff) | |
download | gentoo-2-617f2feabdd09c0d1ad53be0446d50d3bd1153d1.tar.gz gentoo-2-617f2feabdd09c0d1ad53be0446d50d3bd1153d1.tar.bz2 gentoo-2-617f2feabdd09c0d1ad53be0446d50d3bd1153d1.zip |
inform the users that building qt-webkit with -ggdb can be problematic.
bug 307861
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index ff04e328f647..8e592df1f655 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.67 2010/05/22 15:22:46 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.68 2010/05/22 19:23:51 wired Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -67,6 +67,18 @@ S=${WORKDIR}/${MY_P} # @DESCRIPTION: # Sets up S, MY_P, PATH, and LD_LIBRARY_PATH qt4-build_pkg_setup() { + if [[ "${PN}" == "qt-webkit" ]]; then + if [[ "${CFLAGS}" =~ "-ggdb" ]] || [[ "${CXXFLAGS}" =~ "-ggdb" ]]; then + echo + ewarn "Your \$C{,XX}FLAGS contain -ggdb. You may experience really" + ewarn "long compilation times and/or increased memory usage." + ewarn "If compilation fails, please try removing -ggdb before" + ewarn "reporting a bug." + ewarn "For more info check out bug #307861" + echo + fi + fi + [[ ${EAPI} == 2 ]] && use !prefix && EPREFIX= # Protect users by not allowing downgrades between releases |