disable EFA for 32 bit platforms

Signed-off-by: Honggang Li <honli@redhat.com>
This commit is contained in:
Honggang Li 2019-06-17 23:42:16 -04:00
parent 6ab54a8d0d
commit c045ff37d1

View File

@ -48,7 +48,13 @@ developing applications that use %{name}.
%build %build
# The Elastic Fabric Adapter does not support 32 bit platforms, as it
# assume the sizeof pointer is 8.
%ifarch %{ix86} "%{arm}"
%configure --disable-static --disable-silent-rules --enable-efa=no
%else
%configure --disable-static --disable-silent-rules %configure --disable-static --disable-silent-rules
%endif
%make_build %make_build