diff options
-rw-r--r-- | tools/lld/lld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lld/lld.cpp b/tools/lld/lld.cpp index 278447c86..37ef26049 100644 --- a/tools/lld/lld.cpp +++ b/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 |