Pass hwasan extra cflags to make.
Bug: 112438058 Test: SANITIZE_TARGET=hwaddress Change-Id: If57e5f4cf78037992936ce94a98f017676b7e74b
This commit is contained in:
parent
4b42edbca0
commit
a6302337c8
1 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,8 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
|
|||
ctx.Strict("ADDRESS_SANITIZER_CONFIG_EXTRA_LDFLAGS", strings.Join(asanLdflags, " "))
|
||||
ctx.Strict("ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES", strings.Join(asanLibs, " "))
|
||||
|
||||
ctx.Strict("HWADDRESS_SANITIZER_CONFIG_EXTRA_CFLAGS", strings.Join(hwasanCflags, " "))
|
||||
|
||||
ctx.Strict("CFI_EXTRA_CFLAGS", strings.Join(cfiCflags, " "))
|
||||
ctx.Strict("CFI_EXTRA_LDFLAGS", strings.Join(cfiLdflags, " "))
|
||||
|
||||
|
|
Loading…
Reference in a new issue