Mark Post 2017-04-18 23:41:36 +00:00 committed by Git OBS Bridge
parent 87feb7ad74
commit af2bf3c32a

View File

@ -53,13 +53,13 @@ to use a RoCE network without needing to make changes in them.
%build
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
make CFLAGS="${MYCFLAGS} ${RPM_OPT_FLAGS}"
make CFLAGS="${MYCFLAGS} %{optflags}"
%install
%make_install
%ifarch s390 %{ix86}
rm -rf ${RPM_BUILD_ROOT}/usr/lib64
rm -rf "%{buildroot}/usr/lib64"
%endif
%files