[gdb/doc] Explain that there's always a thread
[binutils-gdb.git] / config / bootstrap-asan.mk
index fbef02125dca4d7c9d06763e039225c052f89237..70baaf9bb17354ae26919e2f2ff4006bbc656b45 100644 (file)
@@ -1,5 +1,8 @@
 # This option enables -fsanitize=address for stage2 and stage3.
 
+# Suppress LeakSanitizer in bootstrap.
+export LSAN_OPTIONS="detect_leaks=0"
+
 STAGE2_CFLAGS += -fsanitize=address
 STAGE3_CFLAGS += -fsanitize=address
 POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \