framework make.conf

This commit is contained in:
Wes
2026-09-09 14:11:06 -04:00
parent ffe2eb0840
commit bd1133cb63

View File

@@ -9,7 +9,7 @@
LC_MESSAGES=C.utf8
# USE flags
USE="X dist-kernel npm ssl emoji bluetooth dbus networkmanager openvpn wireguard opengl pulseaudio jack cxx ipv6 java sound-server secureboot modules-sign wifi udisks btrfs elogind -selinux"
USE="${USE} X dist-kernel npm ssl emoji bluetooth dbus networkmanager openvpn wireguard opengl pulseaudio jack cxx ipv6 java sound-server modules-sign wifi udisks btrfs elogind initramfs xdg libnotify -selinux"
SECUREBOOT_SIGN_KEY="/etc/ssl/private/secure_boot/my_db.pem"
SECUREBOOT_SIGN_CERT="/etc/ssl/private/secure_boot/my_db.pem"
@@ -22,22 +22,27 @@ CHOST="x86_64-pc-linux-gnu"
COMMON_FLAGS="-O2 -pipe -Wall"
# C Flags
CFLAGS="${COMMON_FLAGS} -march=native -mtune=native"
CFLAGS="${CFLAGS} ${COMMON_FLAGS} -march=native -mtune=native"
# C++ Flags
CXXFLAGS="${CFLAGS}"
CXXFLAGS="${CXXFLAGS} ${CFLAGS}"
# Fortran 77 Flags
FFLAGS="${CFLAGS}"
FFLAGS="${FFLAGS} ${CFLAGS}"
# Modern Fortran Flags
FCFLAGS="${FFLAGS}"
FCFLAGS="${FCFLAGS} ${FFLAGS}"
# Rust (ew) Flags
RUSTFLAGS="${RUSTFLAGS} -C target-cpu=native"
# This may break my system, but oh well seems nice
ACCEPT_KEYWORDS="~amd64"
# So I don't need to accept licenses later
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE @MISC-FREE @EULA"
# Number of Parallel Jobs (# of CPUs +1)
MAKEOPTS="-j17"
MAKEOPTS="-j25"
# Useful Emerge Configs
EMERGE_DEFAULT_OPTS="--color y --autounmask --autounmask-continue"
EMERGE_DEFAULT_OPTS="--color y --ask"
# How priortized is package building by the CPU? (-20-19)
PORTAGE_NICENESS=19
@@ -47,7 +52,7 @@ PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
AUTOCLEAN="yes"
# Cool portage extensions
FEATURES="binpkg-logs buildpkg downgrade-backup ipc-sandbox network-sandbox"
FEATURES="${FEATURES} binpkg-logs buildpkg downgrade-backup ipc-sandbox network-sandbox"
#Consider test-fail-continue in the future?
GRUB_PLATFORMS="efi-64"