summaryrefslogtreecommitdiffstats
path: root/profiles
diff options
context:
space:
mode:
authorOrfeas <38209077+0xfea5@users.noreply.github.com>2025-09-18 16:53:18 +0300
committerOrfeas <38209077+0xfea5@users.noreply.github.com>2025-09-18 16:53:18 +0300
commitf51e28cf79f21651e5f46627f04739163c6e248c (patch)
treec700606362b232d6cebff142ebd55719b9e0cf11 /profiles
parent.gitignore: ignore metadata/md5-cache (diff)
downloadorf-overlay-f51e28cf79f21651e5f46627f04739163c6e248c.tar.gz
orf-overlay-f51e28cf79f21651e5f46627f04739163c6e248c.zip
amd64-desktop: add make.defaults
Diffstat (limited to 'profiles')
-rw-r--r--profiles/amd64-desktop/make.defaults97
1 files changed, 97 insertions, 0 deletions
diff --git a/profiles/amd64-desktop/make.defaults b/profiles/amd64-desktop/make.defaults
new file mode 100644
index 0000000..aa8da60
--- /dev/null
+++ b/profiles/amd64-desktop/make.defaults
@@ -0,0 +1,97 @@
1# CPU flags
2#
3# mmx, mmxext:
4# sse, sse2, sse3, ssse3, sse4_1, sse4_2: Streaming SIMD Extensions
5# popcnt: count number of bits set to 1 (useful in encryption)
6CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 popcnt"
7
8# LTO flags
9#
10# Source: https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_System-wide
11WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
12LTO_FLAGS="-flto ${WARNING_FLAGS}"
13USE="${USE} lto"
14
15# Common compilation flags
16#
17# -pipe: use pipes instead of temporary files to pass .s files to the assembler,
18# avoiding unnecessary I/O
19# -O2: O2 optimizations are safe enough in the majority of times
20COMMON_FLAGS="-march=x86-64-v3 -O2 -pipe ${LTO_FLAGS}"
21RUSTFLAGS="-C target-cpu=x86-64"
22
23CFLAGS="${COMMON_FLAGS}"
24CXXFLAGS="${COMMON_FLAGS}"
25FCFLAGS="${COMMON_FLAGS}"
26FFLAGS="${COMMON_FLAGS}"
27
28# Distro
29#
30# Enable: distribution kernel, prebuilt binaries
31USE="${USE} dist-kernel bindist"
32
33# Security
34#
35# Enable: process capabilities, file capabilities, access control lists
36# Disable: suid, single-use key
37USE="${USE} caps filecaps acl -suid -skey"
38
39# Desktop
40#
41# Enable: screencast support, fontconfig
42USE="${USE} screencast fontconfig"
43
44# Xorg
45#
46# Disable: X and its extensions
47# NOTES: enable them per-package
48USE="${USE} -X -xcomposite -xinerama -xscreensaver -xv"
49
50# GTK & QT
51#
52# Disable: gtk documentation and gtk2, gtk3, qt5, qt6 toolkits
53# NOTES: enable them per-package
54USE="${USE} -gtk2 -gtk3 -gtk-doc"
55USE="${USE} -qt5 -qt6"
56
57
58# GNOME & KDE
59#
60# Disable: disable gnome and kde services/features which are not strictly necessary to run a standalone desktop
61USE="${USE} -gnome -eds -gnome-online-accounts -sysprof"
62USE="${USE} -kde -plasma -kwallet -kaccounts"
63
64# Audio
65#
66# Enable: jack, pipewire
67USE="${USE} jack pipewire"
68
69# Graphics
70#
71# Enable: vaapi, vulkan
72USE="${USE} vaapi vulkan"
73
74# Misc
75#
76# Enable: fftw library for calculating fast fourier transformations
77USE="${USE} fftw"
78
79# Video cards
80#
81# Enable: framebuffer device (basic), amd related video card support
82VIDEO_CARDS="fbdev amdgpu radeon radeonsi zink"
83
84# Input devices
85#
86# Enable: evdev, libinput (manages most common inputs such as mouse, keyboard, touchpad etc)
87INPUT_DEVICES="evdev libinput"
88
89# Localization
90#
91# Enable: english, greek
92L10N="en en_GB el"
93
94# Licensing
95#
96# Enable: nothing except free and binary redistributables
97ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"