From 1708cf360955404aa635743e52e1e429a9acd9b6 Mon Sep 17 00:00:00 2001 From: Autumn Date: Sat, 2 May 2026 18:11:08 +0100 Subject: [make/020] added make.conf --- src/make/020_make.conf | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/make/020_make.conf (limited to 'src') diff --git a/src/make/020_make.conf b/src/make/020_make.conf new file mode 100644 index 0000000..e89d5fd --- /dev/null +++ b/src/make/020_make.conf @@ -0,0 +1,40 @@ +# +# ~~~ portage compile settings +# + +# +# ~~~ portage options + +# language +LC_MESSAGES="C.UTF-8" + +# accept licenses +ACCEPT_LICENSE="*" + +# +# ~~~ flags + +# make flags +MAKEOPTS="-j8" + +# warning flags for lto +WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" + +# common flags +COMMON_FLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize -fno-semantic-interposition -flto ${WARNING_FLAGS}" +CFLAGS="${COMMON_FLAGS}" +CXXFLAGS="${COMMON_FLAGS}" +FCFLAGS="${COMMON_FLAGS}" +FFLAGS="${COMMON_FLAGS}" + +# rust flags +RUSTOPTS="-Ctarget-cpu=native -Clinker-plugin-lto -Cstrip=debuginfo -Copt-level=3" + +# +# ~~~ compile options + +# set use flags +USE="-X acl amd64 bluetooth -branding bzip2 -cairo cet crypt dbus gdbm iconv ipv6 libtirpc lto -multilib ncurses nls opengl openmp opus pam pcre pgo policykit readline seccomp ssl systemd test-rust udev unicode upower vaapi vorbis vulkan wayland xattr zlib" + +# set language +L10N="en en-GB" -- cgit v1.3