Reduce stack usage in ckati
When limiting ckati to 768kB of stack, it would crash with a segfault when processing this recursive expanded variable. So always use := to turn this into a simple variable. I measured this using 772kB of stack in ckati on sdk_x86_64-eng. With this change, the next highest stack user is 106kB. Bug: 36182021 Test: ulimit -s 768; lunch sdk_x86_64-eng; m nothing Test: build-sdk_x86_64.ninja is identical before/after this change Change-Id: I20a6396db173decf178107e3aac6cf089e541e36
This commit is contained in:
parent
4d44c2dc12
commit
44fd0f6b8e
|
@ -622,7 +622,7 @@ ALL_MODULE_TAGS := $(sort $(ALL_MODULE_TAGS) $(my_module_tags))
|
|||
|
||||
# Add this module name to the tag list of each specified tag.
|
||||
$(foreach tag,$(my_module_tags),\
|
||||
$(eval ALL_MODULE_NAME_TAGS.$(tag) += $(my_register_name)))
|
||||
$(eval ALL_MODULE_NAME_TAGS.$(tag) := $$(ALL_MODULE_NAME_TAGS.$(tag)) $(my_register_name)))
|
||||
|
||||
###########################################################
|
||||
## umbrella targets used to verify builds
|
||||
|
|
Loading…
Reference in New Issue