1# Clang flags for arm64 arch, target or host.
2
3CLANG_CONFIG_arm64_EXTRA_ASFLAGS := \
4  -no-integrated-as
5
6CLANG_CONFIG_arm64_EXTRA_CFLAGS := \
7  -no-integrated-as
8
9CLANG_CONFIG_arm64_EXTRA_LDFLAGS :=
10
11# Include common unknown flags
12CLANG_CONFIG_arm64_UNKNOWN_CFLAGS := \
13  $(CLANG_CONFIG_UNKNOWN_CFLAGS) \
14  -fgcse-after-reload \
15  -frerun-cse-after-loop \
16  -frename-registers \
17  -fno-strict-volatile-bitfields \
18  -fno-align-jumps \
19  -Wa,--noexecstack
20
21# We don't have any arm64 flags to substitute yet.
22define subst-clang-incompatible-arm64-flags
23  $(1)
24endef
25