diff --git a/config.subr b/config.subr
index 8be8ce2..6c09431 100644
--- a/config.subr
+++ b/config.subr
@@ -177,7 +177,7 @@ config_asan() {
echo "/* generated by configure */" > "$OUT_C"
echo "int main (void) { malloc(1); return 0; }" >> "$OUT_C"
if $LIBTOOL --tag CC --mode link ${CC} ${CPPFLAGS} ${CFLAGS} \
- -fsanitize-address -fno-omit-frame-pointer \
+ -fsanitize=address -fno-omit-frame-pointer \
"$OUT_C" ${LIBS} -lasan -o "$OUT"; then
eval "HAVE_$NAME=true"
echo "HAVE_$NAME = true" >> ${CONFIG_MK}