forked from openkylin/platform_build
21 lines
501 B
Makefile
21 lines
501 B
Makefile
# Clang flags for mips arch, target or host.
|
|
|
|
CLANG_CONFIG_mips_EXTRA_ASFLAGS :=
|
|
CLANG_CONFIG_mips_EXTRA_CFLAGS :=
|
|
CLANG_CONFIG_mips_EXTRA_LDFLAGS :=
|
|
|
|
# Include common unknown flags
|
|
CLANG_CONFIG_mips_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 mips flags to substitute yet.
|
|
define subst-clang-incompatible-mips-flags
|
|
$(1)
|
|
endef
|