Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 593e6706 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Revert "[MIPS] Temporarily disable Mips shared-textrel errors"

This reverts commit 3dfd20ae - the clang
version we are using has the mentioned permanent fix. The new build
system (Soong) uses a single list of unknown clang flags for all
architectures, so workarounds like this no longer work.

Change-Id: I64a83f3b52a9ca1d11a76df5a060a36f42e27e4b
parent 622b3c27
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -15,11 +15,6 @@ CLANG_CONFIG_mips_UNKNOWN_CFLAGS := \
  -mno-synci \
  -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)
+0 −5
Original line number Diff line number Diff line
@@ -15,11 +15,6 @@ CLANG_CONFIG_mips64_UNKNOWN_CFLAGS := \
  -mno-synci \
  -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)