blob: 69c3fb2af8198c82dd6ec9e79621780a1cde0257 [file] [log] [blame]
Ying Wang1f982832014-02-06 18:08:44 -08001# 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