Dynamically determine CPU_FLAGS_X86
This commit is contained in:
parent
89cca37d10
commit
72181dddd1
@ -15,7 +15,8 @@ USE="curl ffmpeg gnome-keyring gstreamer networkmanager opus pulseaudio systemd
|
|||||||
# ABI_X86 is used to control multilib support
|
# ABI_X86 is used to control multilib support
|
||||||
ABI_X86="64 32"
|
ABI_X86="64 32"
|
||||||
COMMON_FLAGS="-march=native -O2 -pipe"
|
COMMON_FLAGS="-march=native -O2 -pipe"
|
||||||
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
|
CPU_FLAGS_X86="$(cpuid2cpuflags)"
|
||||||
|
#CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
|
||||||
CFLAGS="${COMMON_FLAGS}"
|
CFLAGS="${COMMON_FLAGS}"
|
||||||
CXXFLAGS="${COMMON_FLAGS}"
|
CXXFLAGS="${COMMON_FLAGS}"
|
||||||
MAKEOPTS="-j16"
|
MAKEOPTS="-j16"
|
||||||
|
Loading…
Reference in New Issue
Block a user