diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-07-03 09:10:55 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-07-03 09:10:55 +0000 |
commit | ae62aaf1a67ee4dcb791242bf0594af036b9388d (patch) | |
tree | ba7a323bd94a3635fac6dd81b616882307ba94e4 /eclass/qt4-build.eclass | |
parent | initial ebuild, thanks to Gábor Vészi (diff) | |
download | gentoo-2-ae62aaf1a67ee4dcb791242bf0594af036b9388d.tar.gz gentoo-2-ae62aaf1a67ee4dcb791242bf0594af036b9388d.tar.bz2 gentoo-2-ae62aaf1a67ee4dcb791242bf0594af036b9388d.zip |
Strip CFLAGS from qmake wrt bug #312689
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index 4d193c0d224a..785f536f988c 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.74 2010/05/30 10:31:05 spatz Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.75 2010/07/03 09:10:55 hwoarang Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -276,6 +276,8 @@ qt4-build_src_prepare() { # don't flirt with non-Prefix stuff, we're quite possessive sed -i -e '/^QMAKE_\(LIB\|INC\)DIR\(_X11\|_OPENGL\|\)\t/s/=.*$/=/' \ mkspecs/$(qt_mkspecs_dir)/qmake.conf || die + # strip predefined CFLAGS from qmake ( bug #312689 ) + sed -i '/^QMAKE_CFLAGS_\(RELEASE\|DEBUG\)/s:+=.*:+=:' mkspecs/common/g++.conf base_src_prepare } |