aboutsummaryrefslogtreecommitdiffstats
path: root/cc/clang.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-03-16 16:22:28 -0700
committerColin Cross <ccross@android.com>2015-03-16 16:22:52 -0700
commita360e8b0fadc2c6cefdf0581cf4eb5057def3be1 (patch)
tree62e400100d0683fea954742f15da0b9d11f2c983 /cc/clang.go
parent6072ad4e9b099ab36a4e2d9aa2cc699be43f330f (diff)
downloadbuild_soong-a360e8b0fadc2c6cefdf0581cf4eb5057def3be1.tar.gz
build_soong-a360e8b0fadc2c6cefdf0581cf4eb5057def3be1.tar.bz2
build_soong-a360e8b0fadc2c6cefdf0581cf4eb5057def3be1.zip
Update clang flags for latest AOSP master
Change-Id: I492b5a4b87689f4eb95466fc92241a0f88415012
Diffstat (limited to 'cc/clang.go')
-rw-r--r--cc/clang.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/clang.go b/cc/clang.go
index c348eeac..6b25d4fa 100644
--- a/cc/clang.go
+++ b/cc/clang.go
@@ -11,6 +11,7 @@ var clangUnknownCflags = []string{
"-finline-limit=64",
"-fno-canonical-system-headers",
"-fno-tree-sra",
+ "-fprefetch-loop-arrays",
"-funswitch-loops",
"-Wmaybe-uninitialized",
"-Wno-error=maybe-uninitialized",