x86.mk revision be971fc19b7f8db8495850064cda6a6dd6df5033
1# This file contains feature macro definitions specific to the
2# base 'x86' platform ABI.
3#
4# It is also used to build full_x86-eng / sdk_x86-eng platform images that
5# are run in the emulator under KVM emulation (i.e. running directly on
6# the host development machine's CPU).
7
8# These features are optional and shall not be included in the base platform
9# Otherwise, sdk_x86-eng system images might fail to run on some
10# developer machines.
11ARCH_X86_HAVE_SSSE3 := false
12ARCH_X86_HAVE_MOVBE := false
13ARCH_X86_HAVE_POPCNT := false
14
15
16# Some intrinsic functions used by libcxx only exist for prescott or newer CPUs,
17# when compiled with clang/llvm.
18# But g++ could have internal error with march=prescott. So we will use
19# march=i686 until the g++ error is fixed or all Android modules can work around
20# that problem, see b/18174291.
21arch_variant_cflags := \
22    -march=i686 \
23
24