Commit df259e972b79fa870839333a4e2cc83cf757794e

Thomas de Grivel 2025-04-09T10:58:10

test have asan

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/config.subr b/config.subr
index 0259b5c..3030982 100644
--- a/config.subr
+++ b/config.subr
@@ -183,7 +183,7 @@ config_asan() {
     echo "}" >> "$OUT_C"
     if $LIBTOOL --tag CC --mode link ${CC} ${CPPFLAGS} ${CFLAGS} \
                 -fsanitize=address -fno-omit-frame-pointer \
-                "$OUT_C" ${LIBS} -lasan -o "$OUT"; then
+                "$OUT_C" ${LIBS} -lasan -o "$OUT" >/dev/null 2>&1; then
         eval "HAVE_$NAME=true"
         echo "HAVE_$NAME = true" >> ${CONFIG_MK}
     else