summaryrefslogtreecommitdiffstats
path: root/profiles/amd64-desktop/make.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/amd64-desktop/make.defaults')
-rw-r--r--profiles/amd64-desktop/make.defaults9
1 files changed, 1 insertions, 8 deletions
diff --git a/profiles/amd64-desktop/make.defaults b/profiles/amd64-desktop/make.defaults
index 24b07dc..d62360e 100644
--- a/profiles/amd64-desktop/make.defaults
+++ b/profiles/amd64-desktop/make.defaults
@@ -1,22 +1,16 @@
1# CPU flags 1# CPU flags
2# 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" 3CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 popcnt"
7 4
8# LTO flags 5# LTO flags
9# 6#
10# Source: https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_System-wide 7# SOURCE: https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_System-wide
11WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" 8WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
12LTO_FLAGS="-flto ${WARNING_FLAGS}" 9LTO_FLAGS="-flto ${WARNING_FLAGS}"
13USE="${USE} lto" 10USE="${USE} lto"
14 11
15# Common compilation flags 12# Common compilation flags
16# 13#
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}" 14COMMON_FLAGS="-march=x86-64-v3 -O2 -pipe ${LTO_FLAGS}"
21RUSTFLAGS="-C target-cpu=x86-64" 15RUSTFLAGS="-C target-cpu=x86-64"
22 16
@@ -99,7 +93,6 @@ INPUT_DEVICES="evdev libinput"
99 93
100# Localization 94# Localization
101# 95#
102#
103L10N="" 96L10N=""
104 97
105# Licensing 98# Licensing