31 lines
691 B
Makefile
31 lines
691 B
Makefile
|
# Clang flags for mips64 arch, target or host.
|
||
|
|
||
|
$(warning Untested mips64 clang flags, fix me!)
|
||
|
|
||
|
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) \
|
||
|
-EL \
|
||
|
-mips32 \
|
||
|
-mips32r2 \
|
||
|
-mhard-float \
|
||
|
-fno-strict-volatile-bitfields \
|
||
|
-fgcse-after-reload \
|
||
|
-frerun-cse-after-loop \
|
||
|
-frename-registers \
|
||
|
-march=mips32r2 \
|
||
|
-mtune=mips32r2 \
|
||
|
-march=mips32 \
|
||
|
-mtune=mips32 \
|
||
|
-msynci \
|
||
|
-mno-fused-madd
|
||
|
|
||
|
# We don't have any mips64 flags to substitute yet.
|
||
|
define subst-clang-incompatible-mips64-flags
|
||
|
$(1)
|
||
|
endef
|