Override LINK to call clang++ w/ -fsanitize=address in test script

Signed-off-by: Philip Turnbull <philipturnbull@github.com>
This commit is contained in:
Max Brunsfeld 2017-06-27 15:44:58 -07:00 committed by Philip Turnbull
parent 0143bfdad4
commit ca4db76bb1

View file

@ -44,6 +44,10 @@ export BUILDTYPE=Test
cmd="out/${BUILDTYPE}/${target}"
run_scan_build=
if [ "$(uname -s)" == "Darwin" ]; then
export LINK="clang++ -fsanitize=address"
fi
while getopts "bdf:s:gGhpvS" option; do
case ${option} in
h)