aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-17 22:51:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-17 22:51:20 +0000
commit867aadfedfb6d9b64fd5da1ca67850a992605a3b (patch)
tree985138b20cad3458231ae4c71e6e39a896f7b1a3 /tools
parent59959cd96673c2452ad006dc392ef8b5a278609c (diff)
downloadexternal_llvm-867aadfedfb6d9b64fd5da1ca67850a992605a3b.zip
external_llvm-867aadfedfb6d9b64fd5da1ca67850a992605a3b.tar.gz
external_llvm-867aadfedfb6d9b64fd5da1ca67850a992605a3b.tar.bz2
llvm-mc: Default -triple to LLVM_HOSTTRIPLE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-mc/llvm-mc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp
index c7f3996..6855a83 100644
--- a/tools/llvm-mc/llvm-mc.cpp
+++ b/tools/llvm-mc/llvm-mc.cpp
@@ -41,7 +41,7 @@ IncludeDirs("I", cl::desc("Directory of include files"),
static cl::opt<std::string>
Triple("triple", cl::desc("Target triple to assemble for,"
"see -version for available targets"),
- cl::init(""));
+ cl::init(LLVM_HOSTTRIPLE));
enum ActionType {
AC_AsLex,