You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
281 B

#!/bin/sh
# mock waf implementation
# waf likes to hardcode paths to compilers during ./waf configure, so
# you should run `infer -- ./waf configure` to capture compiler calls
my_cc=$(which gcc)
echo "compiling"
# compile everything with the hardcoded compiler
make CC="$my_cc"