summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/tools/lld/lld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/tools/lld/lld.cpp b/lld/tools/lld/lld.cpp
index 278447c8614..37ef260495e 100644
--- a/lld/tools/lld/lld.cpp
+++ b/lld/tools/lld/lld.cpp
@@ -94,7 +94,7 @@ static bool isPETarget(std::vector<const char *> &v) {
static Flavor parseProgname(StringRef progname) {
#if __APPLE__
// Use Darwin driver for "ld" on Darwin.
- if (Progname == "ld")
+ if (progname == "ld")
return Darwin;
#endif
OpenPOWER on IntegriCloud