593e670602
This reverts commit 3dfd20aea4
- 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
21 lines
516 B
Makefile
21 lines
516 B
Makefile
# Clang flags for mips arch, target or host.
|
|
|
|
CLANG_CONFIG_mips_EXTRA_ASFLAGS :=
|
|
CLANG_CONFIG_mips_EXTRA_CFLAGS :=
|
|
CLANG_CONFIG_mips_EXTRA_LDFLAGS :=
|
|
|
|
# Include common unknown flags
|
|
CLANG_CONFIG_mips_UNKNOWN_CFLAGS := \
|
|
$(CLANG_CONFIG_UNKNOWN_CFLAGS) \
|
|
-fno-strict-volatile-bitfields \
|
|
-fgcse-after-reload \
|
|
-frerun-cse-after-loop \
|
|
-frename-registers \
|
|
-msynci \
|
|
-mno-synci \
|
|
-mno-fused-madd
|
|
|
|
# We don't have any mips flags to substitute yet.
|
|
define subst-clang-incompatible-mips-flags
|
|
$(1)
|
|
endef
|