From 6e6ff6a2a080d8bf975110b2968c7c7fc5c88dd3 Mon Sep 17 00:00:00 2001
From: Anton Blanchard <anton@samba.org>
Date: Tue, 9 Feb 2016 23:02:51 +0000
Subject: [PATCH] target_arch is always powerpc64, remove powerpc64le check

We no longer need to check for powerpc64le, so remove it.
---
 src/unix/notbsd/linux/mod.rs           | 6 ++----
 src/unix/notbsd/linux/other/b64/mod.rs | 2 +-
 src/unix/notbsd/linux/other/mod.rs     | 3 +--
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs
index 5a392c02..a02efadd 100644
--- a/src/unix/notbsd/linux/mod.rs
+++ b/src/unix/notbsd/linux/mod.rs
@@ -84,11 +84,9 @@ s! {
     }
 
     pub struct pthread_mutexattr_t {
-        #[cfg(any(target_arch = "x86_64", target_arch = "powerpc64",
-                  target_arch = "powerpc64le"))]
+        #[cfg(any(target_arch = "x86_64", target_arch = "powerpc64"))]
         __align: [::c_int; 0],
-        #[cfg(not(any(target_arch = "x86_64", target_arch = "powerpc64",
-                      target_arch = "powerpc64le")))]
+        #[cfg(not(any(target_arch = "x86_64", target_arch = "powerpc64")))]
         __align: [::c_long; 0],
         size: [u8; __SIZEOF_PTHREAD_MUTEXATTR_T],
     }
diff --git a/src/unix/notbsd/linux/other/b64/mod.rs b/src/unix/notbsd/linux/other/b64/mod.rs
index c9d82af4..28d9e4d0 100644
--- a/src/unix/notbsd/linux/other/b64/mod.rs
+++ b/src/unix/notbsd/linux/other/b64/mod.rs
@@ -22,7 +22,7 @@ cfg_if! {
     if #[cfg(target_arch = "aarch64")] {
         mod aarch64;
         pub use self::aarch64::*;
-    } else if #[cfg(any(target_arch = "powerpc64", target_arch = "powerpc64le"))] {
+    } else if #[cfg(any(target_arch = "powerpc64"))] {
         mod powerpc64;
         pub use self::powerpc64::*;
     } else {
diff --git a/src/unix/notbsd/linux/other/mod.rs b/src/unix/notbsd/linux/other/mod.rs
index 0a65f954..d043f224 100644
--- a/src/unix/notbsd/linux/other/mod.rs
+++ b/src/unix/notbsd/linux/other/mod.rs
@@ -454,8 +454,7 @@ cfg_if! {
         pub use self::b32::*;
     } else if #[cfg(any(target_arch = "x86_64",
                         target_arch = "aarch64",
-                        target_arch = "powerpc64",
-                        target_arch = "powerpc64le"))] {
+                        target_arch = "powerpc64"))] {
         mod b64;
         pub use self::b64::*;
     } else {
-- 
GitLab