summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 5f3d494..90a6951 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -30,9 +30,11 @@ autoreconf -i
case "${BOOTSTRAP_MODE}" in
dev)
+ FLAGS="-fsanitize=address -fsanitize=leak -fsanitize=undefined -Wall -Werror"
./configure \
CPPFLAGS="-UNDEBUG" \
- CFLAGS="-fsanitize=address -fsanitize=leak -fsanitize=undefined -Wall -Werror" \
+ CFLAGS="${FLAGS}" \
+ CXXFLAGS="${FLAGS}" \
--enable-code-coverage \
"$@"
;;
OpenPOWER on IntegriCloud