Patchwork [meta-java/openjdk-7.0,5/7] llvm: Enable ppc64

login
register
mail settings
Submitter Khem Raj
Date Aug. 21, 2012, 4:03 a.m.
Message ID <1345521816-2364-5-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/35023/
State Accepted, archived
Headers show

Comments

Khem Raj - Aug. 21, 2012, 4:03 a.m.
This is needed for building for ppc64 jre

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-core/llvm/llvm.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc
index 185b894..622593d 100644
--- a/recipes-core/llvm/llvm.inc
+++ b/recipes-core/llvm/llvm.inc
@@ -202,7 +202,7 @@  def get_llvm_arch(d):
         arch = "ARM"
     elif arch == "mipsel" or arch == "mips":
         arch = "mips"
-    elif arch == "powerpc":
+    elif arch == "powerpc" or arch == "powerpc64":
         arch = "PowerPC"
     else:
         bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) );