summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka2012-07-25 14:45:09 (GMT)
committerMichael Palimaka2012-07-25 14:45:09 (GMT)
commit3ea37eb3aa1424cca91cbcb03d742d74f1f2a9a2 (patch)
treec1d29406e7495e3520ab6a290abda82923d4ad43
parentf6d5e4c8af8db3e84cac7cac719b8383c4247d64 (diff)
[eclass] More respect for *FLAGS.
-rw-r--r--eclass/qt4-build.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index c6365b1..2d41d13 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -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"