x86.mk revision 1f9828387d8d3d0b1a02f99633ac58a68aa366ad
1# Clang flags for x86 arch, target or host.
2
3CLANG_CONFIG_x86_EXTRA_ASFLAGS := \
4  -msse3
5CLANG_CONFIG_x86_EXTRA_CFLAGS :=
6CLANG_CONFIG_x86_EXTRA_LDFLAGS :=
7
8# Include common unknown flags
9CLANG_CONFIG_x86_UNKNOWN_CFLAGS := \
10  $(CLANG_CONFIG_UNKNOWN_CFLAGS) \
11  -finline-limit=300 \
12  -fno-inline-functions-called-once \
13  -mfpmath=sse \
14  -mbionic
15
16# We don't have any x86 flags to substitute yet.
17define subst-clang-incompatible-x86-flags
18  $(1)
19endef
20