2014-02-07 03:08:44 +01:00
|
|
|
# Clang flags for arm64 arch, target or host.
|
|
|
|
|
2014-05-01 00:55:52 +02:00
|
|
|
CLANG_CONFIG_arm64_EXTRA_ASFLAGS := \
|
|
|
|
-no-integrated-as
|
2014-02-07 03:08:44 +01:00
|
|
|
|
|
|
|
CLANG_CONFIG_arm64_EXTRA_CFLAGS := \
|
2014-05-01 00:55:52 +02:00
|
|
|
-no-integrated-as
|
2014-02-07 03:08:44 +01: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-18 23:12:29 +01:00
|
|
|
# We don't have any arm64 flags to substitute yet.
|
2014-02-07 03:08:44 +01:00
|
|
|
define subst-clang-incompatible-arm64-flags
|
2014-03-18 23:12:29 +01:00
|
|
|
$(1)
|
2014-02-07 03:08:44 +01:00
|
|
|
endef
|