> Quoting Yosef Etigin <[EMAIL PROTECTED]>:
> Subject: building userspace on ppc64 is broken
> 
> While building user-space binaries on ppc64, the libs are placed
> in /usr/lib64, but they are built as 32 bit. This happens because
> in ofed 1.2 CFLAGS=-m64 was passed by the environment from the
> install script. What do you think about doing somthing like this
> in the spec files to solve the problem?
> 
> --
> diff --git a/libibverbs.spec.in b/libibverbs.spec.in
> index 459e6f2..8fcdd72 100644
> --- a/libibverbs.spec.in
> +++ b/libibverbs.spec.in
> @@ -47,6 +47,9 @@ displays information about InfiniBand de
>  %setup -q -n [EMAIL PROTECTED]@
>  
>  %build
> +%ifarch ppc64
> +%{expand: %%define optflags %{optflags} -m64}
> +%endif
>  %configure
>  make %{?_smp_mflags}

Hmm. Roland?

-- 
MST
_______________________________________________
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to