[PATCH] spec: fix ppc64le build failure
Vivek Goyal
vgoyal at redhat.com
Wed Sep 24 13:17:40 UTC 2014
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 at redhat.com>
Acked-by: Vivek Goyal <vgoyal at 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
More information about the kexec
mailing list