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@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
On Wed, Sep 24, 2014 at 01:25:35PM +0800, WANG Chao wrote:
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@redhat.com
Acked-by: Vivek Goyal vgoyal@redhat.com
Vivek
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