1 # Clang flags for mips64 arch, target or host. 2 3 CLANG_CONFIG_mips64_EXTRA_ASFLAGS := 4 CLANG_CONFIG_mips64_EXTRA_CFLAGS := 5 CLANG_CONFIG_mips64_EXTRA_LDFLAGS := 6 7 # Include common unknown flags 8 CLANG_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-synci \ 16 -mno-fused-madd 17 18 # Temporary workaround for Mips clang++ problem creating 19 # relocated ptrs in read-only pic .gcc_exception_table; 20 # permanent fix pending at http://reviews.llvm.org/D9669 21 CLANG_CONFIG_mips64_UNKNOWN_CFLAGS += -Wl,--warn-shared-textrel 22 23 # We don't have any mips64 flags to substitute yet. 24 define subst-clang-incompatible-mips64-flags 25 $(1) 26 endef 27