2014-02-07 10:08:44 +08:00
|
|
|
# Clang flags for arm64 arch, target or host.
|
|
|
|
|
2014-10-23 00:21:53 +08:00
|
|
|
CLANG_CONFIG_arm64_EXTRA_ASFLAGS :=
|
2014-02-07 10:08:44 +08:00
|
|
|
|
2014-10-23 00:21:53 +08:00
|
|
|
CLANG_CONFIG_arm64_EXTRA_CFLAGS :=
|
2014-02-07 10:08:44 +08:00
|
|
|
|
|
|
|
CLANG_CONFIG_arm64_EXTRA_LDFLAGS :=
|
|
|
|
|
|
|
|
# Include common unknown flags
|
|
|
|
CLANG_CONFIG_arm64_UNKNOWN_CFLAGS := \
|
|
|
|
$(CLANG_CONFIG_UNKNOWN_CFLAGS) \
|
|
|
|
-fgcse-after-reload \
|
|
|
|
-frerun-cse-after-loop \
|
|
|
|
-frename-registers \
|
|
|
|
-fno-strict-volatile-bitfields \
|
|
|
|
-fno-align-jumps \
|
|
|
|
-Wa,--noexecstack
|
|
|
|
|
2014-03-19 06:12:29 +08:00
|
|
|
# We don't have any arm64 flags to substitute yet.
|
2014-02-07 10:08:44 +08:00
|
|
|
define subst-clang-incompatible-arm64-flags
|
2014-03-19 06:12:29 +08:00
|
|
|
$(1)
|
2014-02-07 10:08:44 +08:00
|
|
|
endef
|