commit | c02a461907a897d3f0824a3715596803e7065416 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Wed Oct 21 06:33:08 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Oct 21 06:33:08 2015 +0000 |
tree | 7e0aeb05e22eb8a59ba16fd1e0e2fdc50fae2980 | |
parent | a6031c8a30c269b02f5549f9e427ed0242b7493b [diff] | |
parent | 81dcc9f215d7a6ed458fe5df0d3583824f0fb56f [diff] |
Merge "Fix broken mips build, where clang is generating an invalid movn."
diff --git a/Android.mk b/Android.mk index 3f56193..80ad8c6 100644 --- a/Android.mk +++ b/Android.mk
@@ -34,6 +34,12 @@ local_cflags_for_slang := -Wall -Werror -std=c++11 ifeq ($(TARGET_BUILD_VARIANT),eng) local_cflags_for_slang += -O0 -D__ENABLE_INTERNAL_OPTIONS + +# Bug: 25132399 +ifneq (,$(filter mips mips64,$(TARGET_ARCH))) +local_cflags_for_slang += -O1 +endif + else ifeq ($(TARGET_BUILD_VARIANT),userdebug) else