OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff9d01
)
Disable -Wframe-larger-than when building SANITIZE_TARGET.
author
Evgenii Stepanov
<eugenis@google.com>
Mon, 15 Jun 2015 22:55:22 +0000
(15:55 -0700)
committer
Evgenii Stepanov
<eugenis@google.com>
Mon, 15 Jun 2015 22:57:19 +0000
(15:57 -0700)
The same has been done for SANITIZE_HOST some time ago.
AddressSanitizer adds redzones around local variables, increasing
function frame size by 2x to 3x.
Bug:
21785137
Change-Id: If53456894a2e6e38318b681dbc69547b05b6f33c
build/Android.common_build.mk
patch
|
blob
|
history
diff --git
a/build/Android.common_build.mk
b/build/Android.common_build.mk
index
ace6a73
..
29b3573
100644
(file)
--- a/
build/Android.common_build.mk
+++ b/
build/Android.common_build.mk
@@
-256,7
+256,9
@@
ifeq ($(HOST_OS),linux)
ifndef SANITIZE_HOST
art_host_non_debug_cflags += -Wframe-larger-than=2700
endif
- art_target_non_debug_cflags += -Wframe-larger-than=1728
+ ifndef SANITIZE_TARGET
+ art_target_non_debug_cflags += -Wframe-larger-than=1728
+ endif
endif
endif
endif