[PATCH] spec: fix ppc64le build failure

WANG Chao chaowang at redhat.com
Wed Sep 24 05:25:35 UTC 2014


kexec-tools expects "powerpc64le" to pass to configure.ac, while we
passed ppc64le. Otherwise the build fails. Now fix it like we did for
ppc64.

Signed-off-by: WANG Chao <chaowang at redhat.com>
---
 kexec-tools.spec | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kexec-tools.spec b/kexec-tools.spec
index 969dfa6..ca67ede 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -134,6 +134,10 @@ tar -z -x -v -f %{SOURCE23}
     --host=powerpc64-redhat-linux-gnu \
     --build=powerpc64-redhat-linux-gnu \
 %endif
+%ifarch ppc64le
+    --host=powerpc64le-redhat-linux-gnu \
+    --build=powerpc64le-redhat-linux-gnu \
+%endif
     --sbindir=/sbin
 rm -f kexec-tools.spec.in
 # setup the docs
-- 
1.9.3



More information about the kexec mailing list