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