61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
# Wes' make.conf file
|
|
# Distributed under public domain or a public domain adjacent license if your country's retarded copyright laws don't support that
|
|
|
|
# op-ti-mize [verb (trans.)]* … (gcc) to modify executable code so that it fails more quickly.
|
|
# gcc - the best argument for non-determinism ever
|
|
|
|
# This sets the language of build output to English.
|
|
# Please keep this setting intact when reporting bugs.
|
|
LC_MESSAGES=C.utf8
|
|
|
|
# USE flags
|
|
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"
|
|
|
|
# Host Setting
|
|
CHOST="x86_64-pc-linux-gnu"
|
|
|
|
# Nice-to-haves
|
|
# NOTE: This stage was built with the bindist USE flag enabled
|
|
COMMON_FLAGS="-O2 -pipe -Wall"
|
|
|
|
# C Flags
|
|
CFLAGS="${CFLAGS} ${COMMON_FLAGS} -march=native -mtune=native"
|
|
# C++ Flags
|
|
CXXFLAGS="${CXXFLAGS} ${CFLAGS}"
|
|
# Fortran 77 Flags
|
|
FFLAGS="${FFLAGS} ${CFLAGS}"
|
|
# Modern Fortran Flags
|
|
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="-j25"
|
|
|
|
# Useful Emerge Configs
|
|
EMERGE_DEFAULT_OPTS="--color y --ask"
|
|
|
|
# How priortized is package building by the CPU? (-20-19)
|
|
PORTAGE_NICENESS=19
|
|
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
|
|
|
|
# Dear god please autoclean
|
|
AUTOCLEAN="yes"
|
|
|
|
# Cool portage extensions
|
|
FEATURES="${FEATURES} binpkg-logs buildpkg downgrade-backup ipc-sandbox network-sandbox"
|
|
#Consider test-fail-continue in the future?
|
|
|
|
GRUB_PLATFORMS="efi-64"
|
|
|
|
VIDEO_CARDS="amdgpu radeonsi"
|