Disable integrated-as for Mips

Bug: http://b/29771478

Hand-coded assembly in various projects will fail to compile after Clang
switches to integrated assembler for Mips.  Disable integrated-as for
Mips.

Test: Verified Mips builds on AOSP both with the old Clang prebuilts and
the new prebuilts (https://android-review.googlesource.com/#/c/243871/)

Change-Id: Idf441cb9c6c2afc8997d5ee56420885930087918
This commit is contained in:
Pirama Arumuga Nainar
2016-06-29 17:09:30 -07:00
parent 5d2038fe06
commit 58e2dcdeda

View File

@@ -52,6 +52,7 @@ var (
mipsClangCflags = append(mipsCflags, []string{
"-fPIC",
"-fno-integrated-as",
}...)
mipsCppflags = []string{
@@ -219,7 +220,7 @@ func (t *toolchainMips) ToolchainClangCflags() string {
}
func (t *toolchainMips) ClangAsflags() string {
return "-fPIC"
return "-fPIC -fno-integrated-as"
}
func (t *toolchainMips) ClangCflags() string {