diff options
author | Peter Collingbourne <pcc@google.com> | 2019-11-25 17:33:35 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-11-25 17:33:35 +0000 |
commit | 8ed0cbc5627f5183df9783b19ff9f8d2c3e34467 (patch) | |
tree | 523de0742b51e6ab3265588c9fdaddd2101449d4 /Android.bp | |
parent | 16a30fcdd2e0abbb7d7e6ae90a19e9e8c191b896 (diff) | |
parent | 0560adabc34e19de3e72825ae2360dad3205d5a2 (diff) | |
download | boringssl-8ed0cbc5627f5183df9783b19ff9f8d2c3e34467.tar.gz |
Merge "Add a temporary hack to let BoringSSL build with a new compiler."
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -99,6 +99,18 @@ cc_object { ], linker_script: "src/crypto/fipsmodule/fips_shared.lds", }, + // Temporary hack to let BoringSSL build with a new compiler. + // This doesn't enable HWASAN unconditionally, it just causes + // BoringSSL's asm code to unconditionally use a HWASAN-compatible + // global variable reference so that the non-HWASANified (because of + // sanitize: { hwaddress: false } above) code in the BCM can + // successfully link against the HWASANified code in the rest of + // BoringSSL in HWASAN builds. + android_arm64: { + asflags: [ + "-fsanitize=hwaddress", + ], + }, }, } |