summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Lozano2017-11-13 16:06:08 -0600
committerIvan Lozano2017-12-04 16:47:49 -0600
commitf4dafbc836efd54ec4bc31ff881f49358a289c63 (patch)
tree04f680c59c8f1f77e95cc96c85eaac93cf8fedde /toolbox
parentebcfa449375fb809b266383d0036a7be3ecdac01 (diff)
downloadplatform-system-core-f4dafbc836efd54ec4bc31ff881f49358a289c63.tar.gz
platform-system-core-f4dafbc836efd54ec4bc31ff881f49358a289c63.tar.xz
platform-system-core-f4dafbc836efd54ec4bc31ff881f49358a289c63.zip
Disable integer overflow sanitizer in grep.
Disables integer overflow sanitization in grep on integer sanitized builds. Bug: 30969751 Test: Compiles. Change-Id: I2668ef6f2261a86f17d2a0f04d5ec7a3c0336ff1
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolbox/Android.bp b/toolbox/Android.bp
index 8db83276d..9c2cafac2 100644
--- a/toolbox/Android.bp
+++ b/toolbox/Android.bp
@@ -40,6 +40,10 @@ cc_defaults {
40 cflags: common_cflags, 40 cflags: common_cflags,
41 local_include_dirs: ["upstream-netbsd/include/"], 41 local_include_dirs: ["upstream-netbsd/include/"],
42 symlinks: ["egrep", "fgrep"], 42 symlinks: ["egrep", "fgrep"],
43
44 sanitize: {
45 integer_overflow: false,
46 },
43} 47}
44 48
45cc_binary { 49cc_binary {