blob: e89d5fdd4f55679e8c77780d8f046a5d4464e1f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"
|