mips64.mk revision 91091280f16b9d5c1951257bcb7292cfdbf19e1b
1# Clang flags for mips64 arch, target or host. 2 3CLANG_CONFIG_mips64_EXTRA_ASFLAGS := 4CLANG_CONFIG_mips64_EXTRA_CFLAGS := 5CLANG_CONFIG_mips64_EXTRA_LDFLAGS := 6 7# Include common unknown flags 8CLANG_CONFIG_mips64_UNKNOWN_CFLAGS := \ 9 $(CLANG_CONFIG_UNKNOWN_CFLAGS) \ 10 -fno-strict-volatile-bitfields \ 11 -fgcse-after-reload \ 12 -frerun-cse-after-loop \ 13 -frename-registers \ 14 -msynci \ 15 -mno-fused-madd 16 17# Temporary workaround for Mips clang++ problem creating 18# relocated ptrs in read-only pic .gcc_exception_table; 19# permanent fix pending at http://reviews.llvm.org/D9669 20CLANG_CONFIG_mips64_UNKNOWN_CFLAGS += -Wl,--warn-shared-textrel 21 22# We don't have any mips64 flags to substitute yet. 23define subst-clang-incompatible-mips64-flags 24 $(1) 25endef 26