Merge "[MIPS] Temporarily disable Mips shared-textrel errors"
This commit is contained in:
commit
df5c798f36
2 changed files with 10 additions and 0 deletions
|
@ -14,6 +14,11 @@ CLANG_CONFIG_mips_UNKNOWN_CFLAGS := \
|
|||
-msynci \
|
||||
-mno-fused-madd
|
||||
|
||||
# Temporary workaround for Mips clang++ problem, creates
|
||||
# relocated ptrs in read-only pic .gcc_exception_table;
|
||||
# permanent fix pending at http://reviews.llvm.org/D9669
|
||||
CLANG_CONFIG_mips_UNKNOWN_CFLAGS += -Wl,--warn-shared-textrel
|
||||
|
||||
# We don't have any mips flags to substitute yet.
|
||||
define subst-clang-incompatible-mips-flags
|
||||
$(1)
|
||||
|
|
|
@ -14,6 +14,11 @@ CLANG_CONFIG_mips64_UNKNOWN_CFLAGS := \
|
|||
-msynci \
|
||||
-mno-fused-madd
|
||||
|
||||
# Temporary workaround for Mips clang++ problem creating
|
||||
# relocated ptrs in read-only pic .gcc_exception_table;
|
||||
# permanent fix pending at http://reviews.llvm.org/D9669
|
||||
CLANG_CONFIG_mips64_UNKNOWN_CFLAGS += -Wl,--warn-shared-textrel
|
||||
|
||||
# We don't have any mips64 flags to substitute yet.
|
||||
define subst-clang-incompatible-mips64-flags
|
||||
$(1)
|
||||
|
|
Loading…
Reference in a new issue