summaryrefslogtreecommitdiffstats
path: root/etc/portage/make.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/portage/make.conf')
-rw-r--r--etc/portage/make.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/portage/make.conf b/etc/portage/make.conf
index 640f85d..95c6b08 100644
--- a/etc/portage/make.conf
+++ b/etc/portage/make.conf
@@ -1,6 +1,7 @@
+VIDEO_CARDS="intel"
CONFIG_PROTECT_MASK="/etc/portage/package.use/zz-autounmask"
PORTAGE_SCHEDULING_POLICY="idle"
-COMMON_FLAGS="-ggdb3 -O2 -pipe -march=core2 -mcx16 -mfxsr -mmmx -msahf -msse -msse2 -msse3 -mssse3 --param=l1-cache-line-size=64 --param=l1-cache-size=32" # intersection of varovalka and b
+COMMON_FLAGS="-ggdb3 -O2 -pipe $([ `hostname` = c ] && echo -march=native || echo -march=core2 -mcx16 -mfxsr -mmmx -msahf -msse -msse2 -msse3 -mssse3 --param=l1-cache-line-size=64 --param=l1-cache-size=32)" # intersection of varovalka and b
CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC
CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK"
FCFLAGS="${COMMON_FLAGS}"
@@ -14,7 +15,7 @@ PKGDIR="/var/cache/binpkgs"
LC_MESSAGES=C
# 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)"
+MAKEOPTS="-j$([ `hostname` != c ] && 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
@@ -74,7 +75,7 @@ SIGNED_OFF_BY="Anton Luka Šijanec <anton@sijanec.eu>"
L10N="sl en de hr si"
-FEATURES="nostrip distcc getbinpkg buildpkg"
+FEATURES="nostrip $([ `hostname` != c ] && echo distcc getbinpkg buildpkg)"
PHP_TARGETS="php8-1"
BINPKG_FORMAT="gpkg"
INPUT_DEVICES="wacom libinput"