summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/portage/make.conf4
-rw-r--r--root/.profile1
2 files changed, 4 insertions, 1 deletions
diff --git a/etc/portage/make.conf b/etc/portage/make.conf
index c558f29..61ad359 100644
--- a/etc/portage/make.conf
+++ b/etc/portage/make.conf
@@ -17,7 +17,9 @@ PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
-MAKEOPTS="-j$(nproc) -l$(nproc)"
+
+# I only have one machine in distcc hosts ATM
+MAKEOPTS="-j$(ssh `cat /etc/distcc/hosts | grep -v '#' | cut -d/ -f1` nproc || nproc) -l$(nproc)"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://packages.hs-regensburg.de/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
# mirrorselect -i -o >> /etc/portage/make.conf
diff --git a/root/.profile b/root/.profile
index e8f0038..9f756d3 100644
--- a/root/.profile
+++ b/root/.profile
@@ -68,3 +68,4 @@ alias egrep='egrep --color=auto'
fi
[ -f ~/.bash_aliases ] && . ~/.bash_aliases
[ -f ~/.private_source ] && . ~/.private_source
+: