commit | 7ae7656bbe2e10914a239d33604db3be1c4be281 | [log] [tgz] |
---|---|---|
author | Andrew Hsieh <andrewhsieh@google.com> | Tue Jan 08 18:39:20 2013 +0800 |
committer | Andrew Hsieh <andrewhsieh@google.com> | Tue Jan 08 18:39:20 2013 +0800 |
tree | 37666e81dd6063f46659323b1d36d64b7164597d | |
parent | 085d831936270609f14b8e920dfbd35025349dc8 [diff] |
Fix clang script to detect -cc1 If the first argument is -cc1, don't specify "-target" again because it has been spelled out in the previous invocation. In fact, clang under -cc1 doesn't understand "-target" at all (knows the equivalent "-triple" well, though) Also add "@echo off" to clang.cmd and clang++.cmd Change-Id: I38ee3b93ab464e022e635447109cd6aab4c10dbb