360b851034
Also add back mips flags previously can't be handled by clang See aosp/build13066a8d4c
10326b3d7f
Change-Id: Iedc8dadd24f72fbd9c5589eec34677c1827290f3
20 lines
515 B
Makefile
20 lines
515 B
Makefile
# Clang flags for mips64 arch, target or host.
|
|
|
|
CLANG_CONFIG_mips64_EXTRA_ASFLAGS :=
|
|
CLANG_CONFIG_mips64_EXTRA_CFLAGS :=
|
|
CLANG_CONFIG_mips64_EXTRA_LDFLAGS :=
|
|
|
|
# Include common unknown flags
|
|
CLANG_CONFIG_mips64_UNKNOWN_CFLAGS := \
|
|
$(CLANG_CONFIG_UNKNOWN_CFLAGS) \
|
|
-fno-strict-volatile-bitfields \
|
|
-fgcse-after-reload \
|
|
-frerun-cse-after-loop \
|
|
-frename-registers \
|
|
-msynci \
|
|
-mno-fused-madd
|
|
|
|
# We don't have any mips64 flags to substitute yet.
|
|
define subst-clang-incompatible-mips64-flags
|
|
$(1)
|
|
endef
|