diff options
| author | 2022-02-07 13:49:03 -0800 | |
|---|---|---|
| committer | 2022-02-08 01:35:23 +0000 | |
| commit | 234b01de96a439e44bd993ac3824f435dcfddc42 (patch) | |
| tree | f81ae57477ddc6d56df46cad0b84f3be6eb3cf16 /java/kotlin_test.go | |
| parent | 472be14f26ea414be89c36be47b9f9b3236fab8b (diff) | |
Use -fno-sanitize-link-runtime for bionic sanitizers
Currently when using sanitizers and building for the device
the -fsanitize= argument is not passed to the linker so that the
linker won't add the runtimes, which have already been added
as explicit dependencies. Pass -fno-sanitize-link-runtime instead
in case the linker has other behaviors when passed -fsanitize=
besides adding the runtimes. Also check for bionic instead of host
so that linux bionic gets the same linker behavior as bionic for
the device.
Test: m USE_HOST_MUSL=true host-native
Test: m checkbuild
Change-Id: I0f2966e2fd4ae8adc5cb21eb116c349bcc0c668f
Diffstat (limited to 'java/kotlin_test.go')
0 files changed, 0 insertions, 0 deletions