From: Chris Lattner Date: Fri, 20 Feb 2009 17:04:14 +0000 (+0000) Subject: add support for amd64-*, patch by Brooks Davis! X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54fefbe9931284c8b78e4cb1cd5f13038f480b9f;p=clang add support for amd64-*, patch by Brooks Davis! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65124 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 7b6723befa..b2d4db1844 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1015,7 +1015,7 @@ TargetInfo* TargetInfo::CreateTargetInfo(const std::string &T) { return new SparcV8TargetInfo(T); } - if (T.find("x86_64-") == 0) { + if (T.find("x86_64-") == 0 || T.find("amd64-") == 0) { if (isDarwin) return new DarwinX86_64TargetInfo(T); if (isLinux)