1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.79 2010/08/08 11:34:20 armin76 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.80 2010/08/13 16:36:10 hwoarang Exp $ |
4 | |
4 | |
5 | # @ECLASS: qt4-build.eclass |
5 | # @ECLASS: qt4-build.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # Ben de Groot <yngwin@gentoo.org>, |
7 | # Ben de Groot <yngwin@gentoo.org>, |
8 | # Markos Chandras <hwoarang@gentoo.org>, |
8 | # Markos Chandras <hwoarang@gentoo.org>, |
… | |
… | |
81 | fi |
81 | fi |
82 | fi |
82 | fi |
83 | |
83 | |
84 | if [[ "${PN}" == "qt-webkit" ]]; then |
84 | if [[ "${PN}" == "qt-webkit" ]]; then |
85 | eshopts_push -s extglob |
85 | eshopts_push -s extglob |
86 | if is-flagq '-g?(gdb)?([0-9])'; then |
86 | if is-flagq '-g?(gdb)?([1-9])'; then |
87 | echo |
87 | echo |
88 | ewarn "You have enabled debug info (probably have -g or -ggdb in your \$C{,XX}FLAGS)." |
88 | ewarn "You have enabled debug info (probably have -g or -ggdb in your \$C{,XX}FLAGS)." |
89 | ewarn "You may experience really long compilation times and/or increased memory usage." |
89 | ewarn "You may experience really long compilation times and/or increased memory usage." |
90 | ewarn "If compilation fails, please try removing -g{,gdb} before reporting a bug." |
90 | ewarn "If compilation fails, please try removing -g{,gdb} before reporting a bug." |
91 | ewarn "For more info check out bug #307861" |
91 | ewarn "For more info check out bug #307861" |