aboutsummaryrefslogtreecommitdiff
path: root/src/make
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-02 18:11:08 +0100
committerAutumn <git@autumnfo.rest>2026-05-02 18:11:08 +0100
commit1708cf360955404aa635743e52e1e429a9acd9b6 (patch)
tree5a2d5347fda205548b6838a9775098224eeefd59 /src/make
parenteb7eece6f70fa757d910b498205b57d1465ec1bf (diff)
[make/020] added make.conf
Diffstat (limited to 'src/make')
-rw-r--r--src/make/020_make.conf40
1 files changed, 40 insertions, 0 deletions
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"