3c4fcd8451
Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
Tell ld when 32-bit links are required.
Override 4.9's changed defaults for mips floating point
register use, to get same assembler rules as 4.8 and earlier.
Also: drop unused soft-fp build targets, cleanout redundant
compiler options, and remove extraneous Android.mk file.
(cherry picked from commit 6670e24aed
)
Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b
22 lines
564 B
Makefile
22 lines
564 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) \
|
|
-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
|