summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/openat2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/openat2/Makefile')
-rw-r--r--tools/testing/selftests/openat2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/openat2/Makefile b/tools/testing/selftests/openat2/Makefile
index 843ba56d8e49..254d676a2689 100644
--- a/tools/testing/selftests/openat2/Makefile
+++ b/tools/testing/selftests/openat2/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-CFLAGS += -Wall -O2 -g -fsanitize=address -fsanitize=undefined
+CFLAGS += -Wall -O2 -g -fsanitize=address -fsanitize=undefined -static-libasan
TEST_GEN_PROGS := openat2_test resolve_test rename_attack_test
include ../lib.mk