6f144b8f65
Change-Id: I7faba190554aa43f43b2eb164bdc7b3bfab68ef0
24 lines
565 B
Makefile
24 lines
565 B
Makefile
# Clang flags for arm64 arch, target or host.
|
|
|
|
CLANG_CONFIG_arm64_EXTRA_ASFLAGS := \
|
|
-no-integrated-as
|
|
|
|
CLANG_CONFIG_arm64_EXTRA_CFLAGS := \
|
|
-no-integrated-as
|
|
|
|
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
|
|
|
|
# We don't have any arm64 flags to substitute yet.
|
|
define subst-clang-incompatible-arm64-flags
|
|
$(1)
|
|
endef
|