diff options
-rwxr-xr-x | bootstrap.sh | 4 |
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 \ "$@" ;; |