27 lines
779 B
Diff
27 lines
779 B
Diff
From 0ffcc562763e8a653ac319ea96b2c09bed762de1 Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Fri, 28 Mar 2014 16:35:58 +0100
|
|
Subject: [PATCH] utils: ppc64p7 is an architecture variant of ppc64.
|
|
|
|
POWER 7 with VSX and other extra instructions.
|
|
---
|
|
src/utils.ml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/utils.ml b/src/utils.ml
|
|
index 55f6754..2e63a3a 100644
|
|
--- a/src/utils.ml
|
|
+++ b/src/utils.ml
|
|
@@ -193,7 +193,7 @@ let compare_architecture a1 a2 =
|
|
| a when string_prefix "armv7" a -> 32
|
|
| a when string_prefix "armv8" a -> 64
|
|
| "ppc" | "ppc32" -> 32
|
|
- | "ppc64" -> 64
|
|
+ | a when string_prefix "ppc64" a -> 64
|
|
| "sparc" | "sparc32" -> 32
|
|
| "sparc64" -> 64
|
|
| "ia64" -> 64
|
|
--
|
|
1.8.5.3
|
|
|