summaryrefslogtreecommitdiff
path: root/bin/mips64/analyzer
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mips64/analyzer')
-rwxr-xr-xbin/mips64/analyzer6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/mips64/analyzer b/bin/mips64/analyzer
new file mode 100755
index 0000000..81915be
--- /dev/null
+++ b/bin/mips64/analyzer
@@ -0,0 +1,6 @@
+if [ "$1" != "-cc1" ]; then
+ `dirname $0`/../clang -target mips64el-none-linux-android "$@"
+else
+ # target/triple already spelled out.
+ `dirname $0`/../clang "$@"
+fi