summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2013-03-05 19:06:19 +0000
committerDavide Pesavento <pesa@gentoo.org>2013-03-05 19:06:19 +0000
commitc4e8d4520e84bb778f67f796b5c17990727f9504 (patch)
tree42bd02b8fbf60cdfcc574e6effe6328a64301045 /eclass/qt4-r2.eclass
parentVersion bump. (diff)
downloadgentoo-2-c4e8d4520e84bb778f67f796b5c17990727f9504.tar.gz
gentoo-2-c4e8d4520e84bb778f67f796b5c17990727f9504.tar.bz2
gentoo-2-c4e8d4520e84bb778f67f796b5c17990727f9504.zip
eqmake4: override also QMAKE_LINK_C, used by packages with "CONFIG+=use_c_linker". Fixes bug #460420.
Diffstat (limited to 'eclass/qt4-r2.eclass')
-rw-r--r--eclass/qt4-r2.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/qt4-r2.eclass b/eclass/qt4-r2.eclass
index 4b1c54436eb3..88a63c00897d 100644
--- a/eclass/qt4-r2.eclass
+++ b/eclass/qt4-r2.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.24 2012/11/08 09:42:51 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.25 2013/03/05 19:06:19 pesa Exp $
# @ECLASS: qt4-r2.eclass
# @MAINTAINER:
@@ -235,6 +235,7 @@ eqmake4() {
QMAKE_CC="$(tc-getCC)" \
QMAKE_CXX="$(tc-getCXX)" \
QMAKE_LINK="$(tc-getCXX)" \
+ QMAKE_LINK_C="$(tc-getCC)" \
QMAKE_OBJCOPY="$(tc-getOBJCOPY)" \
QMAKE_RANLIB= \
QMAKE_STRIP= \