aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,