aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sparsec
diff options
authorPekka Enberg <penberg@kernel.org>2011-08-23 18:52:33 +0300
committerPekka Enberg <penberg@kernel.org>2011-08-23 18:52:33 +0300
commit80e549751078e55e852965876642bca1b1f88930 (patch)
tree751dd9348b12c2960de3598d43ac5027768d3620 /sparsec
parent0a700caa38a078d2cc2ca752b776c4440782fca4 (diff)
downloadsparse-dev-80e549751078e55e852965876642bca1b1f88930.tar.gz
sparse, llvm: Fix 'sparsec' when it's not in PATH
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'sparsec')
-rwxr-xr-xsparsec2
1 files changed, 1 insertions, 1 deletions
diff --git a/sparsec b/sparsec
index 5ae4bb8d..27eb6223 100755
--- a/sparsec
+++ b/sparsec
@@ -27,5 +27,5 @@ if [ $use_gcc -eq 1 ]; then
gcc $ASOPTS $SPARSEOPTS
else
- sparse-llvm $SPARSEOPTS | llc | as $ASOPTS
+ $DIRNAME/sparse-llvm $SPARSEOPTS | llc | as $ASOPTS
fi