third_party_libsnd/Scripts/clang-sanitize.sh

14 lines
302 B
Bash
Raw Normal View History

2013-07-13 23:25:21 +00:00
#!/bin/bash
# This is known to work with clang-3.4 from Debian testing/unstable.
# 2013/07/14
export CC=clang
export CXX=clang++
export CFLAGS="-O3 -fsanitize=address,integer,undefined"
export CXXFLAGS="-O3 -fsanitize=address,integer,undefined"
./configure --enable-gcc-werror
make clean all check