Merge "Pass USE_SAFESTACK to Soong."

This commit is contained in:
Evgenii Stepanov 2016-05-13 22:24:52 +00:00 committed by Gerrit Code Review
commit 00bccf54d4
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ $(SOONG_VARIABLES): FORCE
echo ''; \
echo ' "CrossHost": "$(HOST_CROSS_OS)",'; \
echo ' "CrossHostArch": "$(HOST_CROSS_ARCH)",'; \
echo ' "CrossHostSecondaryArch": "$(HOST_CROSS_2ND_ARCH)"'; \
echo ' "CrossHostSecondaryArch": "$(HOST_CROSS_2ND_ARCH)",'; \
echo ' "Safestack": $(if $(filter true,$(USE_SAFESTACK)),true,false)'; \
echo '}') > $(SOONG_VARIABLES_TMP); \
if ! cmp -s $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); then \
mv $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); \