summaryrefslogtreecommitdiffstats
path: root/etc/portage
diff options
context:
space:
mode:
Diffstat (limited to 'etc/portage')
-rw-r--r--etc/portage/make.conf4
1 files changed, 3 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