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