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