[master] 9df3808ea build: Pass sanitizer flags to cc_command
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon May 10 13:14:06 UTC 2021
commit 9df3808eae81d6d033d124e64ed7706c55eb94b1
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon May 10 14:36:04 2021 +0200
build: Pass sanitizer flags to cc_command
To get the same checks for the code we generate with libvcc.
diff --git a/configure.ac b/configure.ac
index de24d8ceb..3e02d06d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -802,7 +802,7 @@ else
VCC_CC="exec cc $OCFLAGS -dynamiclib -Wl,-undefined,dynamic_lookup -o %o %s"
;;
*)
- VCC_CC="exec $PTHREAD_CC $OCFLAGS $PTHREAD_CFLAGS -fpic -shared -Wl,-x -o %o %s"
+ VCC_CC="exec $PTHREAD_CC $OCFLAGS $PTHREAD_CFLAGS $SAN_CFLAGS -fpic -shared -Wl,-x -o %o %s"
;;
esac
fi
More information about the varnish-commit
mailing list