summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-07-15 22:20:53 +0000
committerDan Armak <danarmak@gentoo.org>2002-07-15 22:20:53 +0000
commitf004ab5482466407f05ff9234bcc1853f9d36c12 (patch)
treea2e58e2b720f9587c493626125fb0e3ab2886f6a /eclass
parentGarr meant to ci earlier... fix a bug in etc-update's defaulting function (diff)
downloadhistorical-f004ab5482466407f05ff9234bcc1853f9d36c12.tar.gz
historical-f004ab5482466407f05ff9234bcc1853f9d36c12.tar.bz2
historical-f004ab5482466407f05ff9234bcc1853f9d36c12.zip
add configure flag --disable-dependency-tracking which allows ccache to cache a lot more of the kde compile.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 9430d4c40ebb..736069bf8d7f 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.50 2002/07/12 21:42:38 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.51 2002/07/15 22:20:53 danarmak Exp $
# The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here.
inherit base kde-functions
ECLASS=kde
@@ -26,6 +26,8 @@ kde_src_compile() {
myconf)
debug-print-section myconf
myconf="$myconf --prefix=${PREFIX} --host=${CHOST} --with-x --enable-mitshm --with-xinerama --with-qt-dir=${QTDIR}"
+ # calculate dependencies separately from compiling, enables ccache to work on kde compiles
+ myconf="$myconf --disable-dependency-tracking"
use qtmt && myconf="$myconf --enable-mt"
[ -n "$DEBUG" ] && myconf="$myconf --enable-debug=full --with-debug" || myconf="$myconf --disable-debug --without-debug"
debug-print "$FUNCNAME: myconf: set to ${myconf}"