diff options
author | Andrii Nakryiko <[email protected]> | 2021-11-07 08:55:13 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-11-07 09:14:15 -0800 |
commit | 2a2cb45b727b7a1041f3d3d93414b774e66454bb (patch) | |
tree | dd1db655fdd1dad0797e46871f3e02ac068fd893 /lib/test_overflow.c | |
parent | 5577f24cb04a38a227d536e0e8fdaaa6401dba01 (diff) |
selftests/bpf: Pass sanitizer flags to linker through LDFLAGS
When adding -fsanitize=address to SAN_CFLAGS, it has to be passed both
to compiler through CFLAGS as well as linker through LDFLAGS. Add
SAN_CFLAGS into LDFLAGS to allow building selftests with ASAN.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Hengqi Chen <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions