diff options
author | Michael Palimaka <kensington@gentoo.org> | 2012-09-06 08:30:00 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2012-09-06 08:30:00 +0000 |
commit | 892794d531b73f29e259e44eac233049bce3a1db (patch) | |
tree | 0021ef04cf72cada43afde7b6af340d9472f3e0a /eclass/qt4-build.eclass | |
parent | Unmask OpenCL-capable llvm & clang, the issue has been resolved. (diff) | |
download | historical-892794d531b73f29e259e44eac233049bce3a1db.tar.gz historical-892794d531b73f29e259e44eac233049bce3a1db.tar.bz2 historical-892794d531b73f29e259e44eac233049bce3a1db.zip |
Improve respect for *FLAGS. Fixes part of bug #427782.
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index 3b75f4fc433e..a39865816216 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.134 2012/07/10 21:43:19 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.135 2012/09/06 08:30:00 kensington Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -266,7 +266,13 @@ qt4-build_src_prepare() { CXX='$(tc-getCXX)'\n\ CFLAGS='${CFLAGS}'\n\ CXXFLAGS='${CXXFLAGS}'\n\ - LDFLAGS='${LDFLAGS}'\n" \ + LDFLAGS='${LDFLAGS}'\n\ + QMakeVar set QMAKE_CFLAGS_RELEASE\n\ + QMakeVar set QMAKE_CFLAGS_DEBUG\n\ + QMakeVar set QMAKE_CXXFLAGS_RELEASE\n\ + QMakeVar set QMAKE_CXXFLAGS_DEBUG\n\ + QMakeVar set QMAKE_LFLAGS_RELEASE\n\ + QMakeVar set QMAKE_LFLAGS_DEBUG\n"\ -i configure \ || die "sed SYSTEM_VARIABLES failed" |