diff options
author | Rui Ueyama <ruiu@google.com> | 2019-07-11 06:12:18 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2019-07-11 06:12:18 +0000 |
commit | 491fb3ef7de95d4b5242f4fbe9dce2846665ebf4 (patch) | |
tree | 2903a71f9ef343515cbb8b310d006f21be3cd534 | |
parent | 128a00d4fe09d2417ae5110d871f68765a3e529f (diff) |
Fix build breakage on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@365734 91177308-0d34-0410-b5e6-96231b3b80d8
-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 |