From: Rafael Espindola Date: Tue, 10 Aug 2010 16:32:15 +0000 (+0000) Subject: Fix silly bug. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=15af387bffbf8e1fbab720fd0b92291bb68c023b;p=oota-llvm.git Fix silly bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110684 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index e7161a64a8e..207c0d8b46a 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -96,7 +96,7 @@ namespace options { } else if (opt.startswith("pass-through=")) { llvm::StringRef item = opt.substr(strlen("pass-through=")); pass_through.push_back(item.str()); - } else if (opt == "mtriple=") { + } else if (opt.startswith("mtriple=")) { triple = opt.substr(strlen("mtriple=")); } else if (opt == "emit-llvm") { generate_bc_file = BC_ONLY;