# CPU flags
#
-# mmx, mmxext:
-# sse, sse2, sse3, ssse3, sse4_1, sse4_2: Streaming SIMD Extensions
-# popcnt: count number of bits set to 1 (useful in encryption)
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 popcnt"
# LTO flags
#
-# Source: https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_System-wide
+# SOURCE: https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_System-wide
WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
LTO_FLAGS="-flto ${WARNING_FLAGS}"
USE="${USE} lto"
# Common compilation flags
#
-# -pipe: use pipes instead of temporary files to pass .s files to the assembler,
-# avoiding unnecessary I/O
-# -O2: O2 optimizations are safe enough in the majority of times
COMMON_FLAGS="-march=x86-64-v3 -O2 -pipe ${LTO_FLAGS}"
RUSTFLAGS="-C target-cpu=x86-64"
# Localization
#
-#
L10N=""
# Licensing