diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2013-06-12 18:38:05 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2013-06-12 18:38:05 +0000 |
commit | 509e3cc074d89194e2c005d7de5357aa4776b312 (patch) | |
tree | 9d689af9512210ee8a16d049704fa36f2c4723d0 /lang/clang33 | |
parent | Add a file that was missed when working around svn cp + post commit hook (diff) |
Add a file that was missed when working around svn cp + post commit hook
weirdness.
Submitted by: bdrewery
Notes
Notes:
svn path=/head/; revision=320714
Diffstat (limited to 'lang/clang33')
-rw-r--r-- | lang/clang33/files/llvm-wrapper.sh.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/clang33/files/llvm-wrapper.sh.in b/lang/clang33/files/llvm-wrapper.sh.in new file mode 100644 index 000000000000..0a460f3156e5 --- /dev/null +++ b/lang/clang33/files/llvm-wrapper.sh.in @@ -0,0 +1,10 @@ +#!/bin/sh +# $FreeBSD$ + +LLVM_PREFIX="%%LLVM_PREFIX%%" +LLVM_SUFFIX="%%LLVM_SUFFIX%%" + +tool=$(basename $0) +tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" +LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ + "${tool}" "${@}" |