Override LINK to call clang++ w/ -fsanitize=address in test script
Signed-off-by: Philip Turnbull <philipturnbull@github.com>
This commit is contained in:
parent
0143bfdad4
commit
ca4db76bb1
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue