From 82817ba18f2cf63708fc70a55ae458739e4feac4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Dec 2007 18:41:05 +0000 Subject: [PATCH] I'm apparently the only sad lonely ppc user left :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44622 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/Targets.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Driver/Targets.cpp b/Driver/Targets.cpp index c463fb9d82..336beb925d 100644 --- a/Driver/Targets.cpp +++ b/Driver/Targets.cpp @@ -674,9 +674,9 @@ static inline bool IsX86(const std::string& TT) { /// CreateTarget - Create the TargetInfoImpl object for the specified target /// enum value. static TargetInfoImpl *CreateTarget(const std::string& T) { - if (T.find("ppc-") == 0) + if (T.find("ppc-") == 0 || T.find("powerpc-") == 0) return new DarwinPPCTargetInfo(T); - else if (T.find("ppc64-") == 0) + else if (T.find("ppc64-") == 0 || T.find("powerpc64-") == 0) return new DarwinPPC64TargetInfo(T); else if (T.find("x86_64-") == 0) return new DarwinX86_64TargetInfo(T); -- 2.40.0